File: thinkpad-base.preinst

package info (click to toggle)
thinkpad 5.8-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 604 kB
  • ctags: 1,459
  • sloc: ansic: 5,985; makefile: 226; sh: 179; asm: 44; sed: 22
file content (15 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e

if [ -f /etc/modutils/tpctl ]; then
  if [ -f /etc/modutils/thinkpad ]; then
    # retire
    mv -f /etc/modutils/tpctl /etc/modutils/tpctl.dpkg-old
  else
    # kidnap
    mv -f /etc/modutils/tpctl /etc/modutils/thinkpad
  fi
fi

#DEBHELPER#