Merge pull request #5039 from CMB/basefiles-mail
base-files: do not create broken var/spool/mail/mail symlink.
This commit is contained in:
@@ -64,7 +64,11 @@ make_system_dirs() {
|
|||||||
cd var
|
cd var
|
||||||
ln -sf ../run .
|
ln -sf ../run .
|
||||||
ln -sf ../run/lock .
|
ln -sf ../run/lock .
|
||||||
ln -sf spool/mail mail
|
ln -sfn spool/mail mail
|
||||||
|
if [ -L spool/mail/mail -a "$(readlink spool/mail/mail)" = spool/mail ]; then
|
||||||
|
# Get rid of broken symlink created by older versions of base-files.
|
||||||
|
rm spool/mail/mail
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
install -dm1777 tmp
|
install -dm1777 tmp
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.139
|
version=0.139
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
short_desc="Void Linux base system files"
|
short_desc="Void Linux base system files"
|
||||||
|
|||||||
Reference in New Issue
Block a user