wok-next diff emacs/receipt @ rev 19142
Down ffmpeg (2.8.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 12:09:28 2016 +0200 (2016-05-19) |
parents | 9e01bc6321ea |
children | e70c0b9c5adf |
line diff
1.1 --- a/emacs/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/emacs/receipt Thu May 19 12:09:28 2016 +0200 1.3 @@ -164,9 +164,10 @@ 1.4 # Install specific site file 1.5 echo -n "Installing specific SliTaz file" 1.6 cp -a $install/usr/share/$PACKAGE/$VERSION/site-lisp \ 1.7 - $fs/usr/share/$PACKAGE && \ 1.8 + $fs/usr/share/$PACKAGE && \ 1.9 mkdir -p $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ 1.10 - cp -a $stuff/default.el $fs/usr/share/$PACKAGE/site-lisp && \ 1.11 + cp -a $stuff/default.el $stuff/site-start.el \ 1.12 + $fs/usr/share/$PACKAGE/site-lisp && \ 1.13 cp -a $stuff/90-slitaz.el \ 1.14 $fs/usr/share/$PACKAGE/site-lisp/site-start.d && \ 1.15 status 1.16 @@ -184,21 +185,6 @@ 1.17 1.18 post_install() 1.19 { 1.20 - cd "$1/usr/share/$PACKAGE/$VERSION/site-lisp" 1.21 - cat <<-EOF >site-start.el 1.22 - ;; site-start.el for SliTaz -*- no-byte-compile: t -*- 1.23 - ;; 1.24 - ;; (C) GNU gpl v3 - SliTaz GNU/Linux 2009. 1.25 - ;; 1.26 - ;; This default site startup file for Emacs was created by tazpkg 1.27 - ;; reconfigure emacs. You may modify this file, replace it by your 1.28 - ;; own site initialisation, or even remove it completely. 1.29 - ;; 1.30 - EOF 1.31 - START_FILES="$(ls site-start.d/ | sort)" 1.32 - for file in $START_FILES; do 1.33 - cat site-start.d/$file >> site-start.el 1.34 - done 1.35 # linking /usr/bin/emacs to new version 1.36 [ -h "$1/usr/bin/emacs" ] && rm -f "$1/usr/bin/emacs" 1.37 ln -s /usr/bin/emacs-$VERSION "$1/usr/bin/emacs" 1.38 @@ -209,4 +195,4 @@ 1.39 rm -rf "$1/usr/share/emacs" 1.40 rm -rf "$1/usr/lib/emacs" 1.41 rm -f "$1/usr/bin/emacs" 1.42 -} 1.43 \ No newline at end of file 1.44 +}