base-files.preinst 268 B

123456789101112
  1. #!/bin/sh -e
  2. if [ x"$D" = "x" ]; then
  3. if [ -h "/var/lock" ]; then
  4. # Remove the symbolic link
  5. rm -f /var/lock
  6. fi
  7. if [ -h "/run" ]; then
  8. # Remove the symbolic link
  9. rm -f /run
  10. fi
  11. fi