wok-current rev 18479
Up slitaz-base-files(286): slitaz-doc and /dev/shm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 08 00:36:08 2015 +0300 (2015-10-08) |
parents | fd7465c3bdde |
children | 181af255e428 |
files | slitaz-base-files/receipt |
line diff
1.1 --- a/slitaz-base-files/receipt Wed Oct 07 15:13:06 2015 +0200 1.2 +++ b/slitaz-base-files/receipt Thu Oct 08 00:36:08 2015 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-base-files" 1.7 -VERSION="284" 1.8 +VERSION="286" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Linux tree and the necessary files for the base system." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -70,7 +70,7 @@ 1.13 $fs/var/run 1.14 1.15 # Daemons may store the pid files in /var/run 1.16 - # from 5.0 /var/run is mounted as tmpfs 1.17 + # from 5.0 /var/run is mounted as tmpfs 1.18 #ln -s /run $fs/var/run 1.19 1.20 # Copy all installed files and set permissions. 1.21 @@ -78,8 +78,8 @@ 1.22 1.23 chown -R root.root $fs/* 1.24 chmod 1777 $fs/tmp 1.25 - chmod 640 $fs/etc/shadow 1.26 - chmod 640 $fs/etc/gshadow 1.27 + chmod 640 $fs/etc/shadow 1.28 + chmod 640 $fs/etc/gshadow 1.29 chmod 0750 $fs/root 1.30 1.31 # Populate /dev with $fs/sbin/mktazdevs.sh. 1.32 @@ -105,7 +105,7 @@ 1.33 cp -a "$1/etc" "$1/tmp/etc.bak" 2>/dev/null 1.34 [ -x "$1/usr/bin/sudo" ] && mv "$1/usr/bin/sudo" "$1/usr/bin/sudo.orig" 1.35 # Remove old /var/run symlink 1.36 - rm -f "$1/var/run" 1.37 + [ -h "$1/var/run" ] && rm -f "$1/var/run" 1.38 } 1.39 1.40 post_install()