summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimon Brulhart2017-10-17 14:10:42 +0200
committerSimon Brulhart2017-10-17 14:10:42 +0200
commitccde1c07d2f2424adfa0810c107e42a0666abb66 (patch)
tree0e996206d213c87fb9d0c6a2c243d733a8dae54c /PKGBUILD
parent87783c95c11f2d7f466e0c615b55fd1d3db5c880 (diff)
downloadaur-ccde1c07d2f2424adfa0810c107e42a0666abb66.tar.gz
Small refactor
No reason to be that scared of an rm -rf
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 1 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da2a92d7f70e..fd1f45633c02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,9 +31,7 @@ package() {
install -m755 ${srcdir}/firefox-beta.sh ${pkgdir}/usr/bin/firefox-beta
# Use system-provided dictionaries
- if [[ -d ${pkgdir}/usr/lib/${_mypkgn}/dictionaries ]]; then
- rm -r "${pkgdir}/usr/lib/${_mypkgn}/dictionaries"
- fi
+ rm -rf "${pkgdir}/usr/lib/${_mypkgn}/dictionaries"
ln -Ts /usr/share/hunspell "${pkgdir}/usr/lib/${_mypkgn}/dictionaries"
install -m644 firefox-beta-bin.desktop ${pkgdir}/usr/share/applications/