diff options
author | Simon Brulhart | 2017-10-17 14:10:42 +0200 |
---|---|---|
committer | Simon Brulhart | 2017-10-17 14:10:42 +0200 |
commit | ccde1c07d2f2424adfa0810c107e42a0666abb66 (patch) | |
tree | 0e996206d213c87fb9d0c6a2c243d733a8dae54c /PKGBUILD | |
parent | 87783c95c11f2d7f466e0c615b55fd1d3db5c880 (diff) | |
download | aur-ccde1c07d2f2424adfa0810c107e42a0666abb66.tar.gz |
Small refactor
No reason to be that scared of an rm -rf
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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/ |