40bbaff960
After switching to these symlinks, you no longer need to create the missing directories. See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=35350
10 lines
243 B
Bash
Executable File
10 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# this was a bunch of dirty complaints
|
|
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||:
|
|
|
|
[ ! -L /var/run ] && rm -r /var/run && ln -s ../run /var/run
|
|
[ ! -L /var/lock ] && rm -r /var/lock && ln -s ../run/lock /var/lock
|
|
|
|
:
|