aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs-gtk2/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs-gtk2/PKGBUILD b/emacs-gtk2/PKGBUILD
index 912ed60..5907b25 100644
--- a/emacs-gtk2/PKGBUILD
+++ b/emacs-gtk2/PKGBUILD
@@ -29,9 +29,10 @@ package() {
cd "$srcdir"/$_pkgname-$pkgver
make DESTDIR="$pkgdir" install
- # remove conflict with ctags package
- mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}
- mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1}
+ # remove conflicting files
+ mv "$pkgdir"/usr/bin/{ctags,ctags.emacs} || true
+ mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1} || true
+ mv "$pkgdir"/usr/share/info/info.info.gz || true
# fix user/root permissions on usr/share files
find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \;