mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
Merge pull request #5039 from CMB/basefiles-mail
base-files: do not create broken var/spool/mail/mail symlink.
This commit is contained in:
commit
9b83f5f385
2 changed files with 6 additions and 2 deletions
|
@ -64,7 +64,11 @@ make_system_dirs() {
|
|||
cd var
|
||||
ln -sf ../run .
|
||||
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 ..
|
||||
|
||||
install -dm1777 tmp
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.139
|
||||
revision=2
|
||||
revision=3
|
||||
bootstrap=yes
|
||||
depends="xbps-triggers"
|
||||
short_desc="Void Linux base system files"
|
||||
|
|
Loading…
Add table
Reference in a new issue