void-packages/srcpkgs/base-directories/INSTALL

15 lines
392 B
Plaintext
Raw Normal View History

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