summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2016-08-07 22:23:00 +0200
committerStefan Husmann2016-08-07 22:23:00 +0200
commita3a642ac8eef98fa425a46532cd40616d9743347 (patch)
treeb2c9108cc66b07ec86776404522b96c7842a1794
parent543bb12e5e5ddccde9c9c5de145b8a4d82034739 (diff)
downloadaur-a3a642ac8eef98fa425a46532cd40616d9743347.tar.gz
correct install file
-rw-r--r--.SRCINFO2
-rw-r--r--tramp.install15
2 files changed, 3 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cf9be66d9b7..1e6017fa0f1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Sun Aug 7 20:22:31 UTC 2016
pkgbase = tramp
pkgdesc = emacs extension that provides transparent remote file editing
pkgver = 2.3.0
diff --git a/tramp.install b/tramp.install
index 5359506a0e3..702f790089b 100644
--- a/tramp.install
+++ b/tramp.install
@@ -1,23 +1,10 @@
infodir=usr/share/info
pre_install() {
- [[ -x info-dir/tramp.gz ]] || mv $infodir/tramp.gz $infodir/tramp.orig.gz
-}
-
-post_install() {
- [[ -x usr/bin/install-info ]] || return 0
- mv $infodir/tramp-new.gz $infodir/tramp.gz
- install-info "$infodir/tramp.gz" "$infodir/dir" 2> /dev/null
-}
-
-post_upgrade() {
- [[ -x usr/bin/install-info ]] || return 0
- install-info "$infodir/tramp.gz" "$infodir/dir" 2> /dev/null
+ [[ -x $info-dir/tramp.gz ]] || mv $infodir/tramp.gz $infodir/tramp.orig.gz
}
pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- install-info --delete "$infodir/tramp.gz" "$infodir/dir" 2> /dev/null
mv $infodir/tramp.orig.gz $infodir/tramp.gz
}