File: postinst

package info (click to toggle)
ledcontrol 0.5.2-11.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,016 kB
  • ctags: 270
  • sloc: ansic: 3,264; sh: 1,589; makefile: 181; perl: 49
file content (11 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

#DEBHELPER#

# If it exists, remove old init script
if [ -f /etc/init.d/ledcontrol ]; then
  rm -f /etc/init.d/ledcontrol
fi

# Make sure no symlinks to the old init script exist
update-rc.d -f ledcontrol remove