wok diff emacs/receipt @ rev 17599
linux: CONFIG_USB_SERIAL_VISOR=m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Feb 11 01:56:28 2015 -0500 (2015-02-11) |
parents | 2b9f96603415 |
children | 54165ad14f1d |
line diff
1.1 --- a/emacs/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/emacs/receipt Wed Feb 11 01:56:28 2015 -0500 1.3 @@ -185,7 +185,7 @@ 1.4 1.5 post_install() 1.6 { 1.7 - cd /usr/share/$PACKAGE/$VERSION/site-lisp 1.8 + cd $1/usr/share/$PACKAGE/$VERSION/site-lisp 1.9 cat <<-EOF >site-start.el 1.10 ;; site-start.el for SliTaz -*- no-byte-compile: t -*- 1.11 ;; 1.12 @@ -201,13 +201,13 @@ 1.13 cat site-start.d/$file >> site-start.el 1.14 done 1.15 # linking /usr/bin/emacs to new version 1.16 - [ -h /usr/bin/emacs ] && rm -f /usr/bin/emacs 1.17 - ln -s /usr/bin/emacs-$VERSION /usr/bin/emacs 1.18 + [ -h $1/usr/bin/emacs ] && rm -f $1/usr/bin/emacs 1.19 + ln -s /usr/bin/emacs-$VERSION $1/usr/bin/emacs 1.20 } 1.21 1.22 post_remove() 1.23 { 1.24 - rm -rf /usr/share/emacs 1.25 - rm -rf /usr/lib/emacs 1.26 - rm -f /usr/bin/emacs 1.27 + rm -rf $1/usr/share/emacs 1.28 + rm -rf $1/usr/lib/emacs 1.29 + rm -f $1/usr/bin/emacs 1.30 }