File: screen.postrm

package info (click to toggle)
screen 4.9.1-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,040 kB
  • sloc: ansic: 39,738; sh: 2,147; makefile: 347; perl: 63
file content (16 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

if [ "$1" = purge ] || [ "$1" = remove ]; then
  rm -rf /run/screen
fi

if [ "$1" = purge ]; then
  rm -vf /etc/tmpfiles.d/screen-cleanup.conf

  # LP #1462692
  rm -f /lib/systemd/system/screen-cleanup.service
  rmdir -p --ignore-fail-on-non-empty /lib/systemd/system
fi

#DEBHELPER#