void-packages/srcpkgs/base-directories/INSTALL

14 lines
392 B
Text

case "${ACTION}" in
post)
# Create compat symlinks for /run.
ln -sf /run/init.d lib/rc/init.d
[ -d tmp ] && rmdir tmp
ln -sf /run/tmp tmp
[ -d var/tmp ] && rmdir var/tmp
ln -sf /run/tmp var/tmp
[ -d var/run ] && rmdir var/run
ln -sf /run/pid var/run
[ -d var/lock ] && rmdir var/lock
ln -sf /run/lock var/lock
;;
esac