File: prerm

package info (click to toggle)
yiff 2.06-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,464 kB
  • ctags: 3,028
  • sloc: ansic: 47,463; makefile: 218; sh: 77
file content (15 lines) | stat: -rw-r--r-- 227 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

if [ "$1" = "failed-upgrade" ]; then
	#
	# This error can only happen if the yiff-server don't running
	# while upgrading.
	#
	cat > /etc/init.d/yiff-server << __EOF__
#!/bin/sh -e
exit 0
__EOF__
fi

#DEBHELPER#