File: preinst

package info (click to toggle)
logtool 1.2.8-11
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 972 kB
  • sloc: ansic: 1,824; sh: 724; makefile: 69
file content (17 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

for file in blue brightblue brightcyan brightgreen brightmagenta brightred brightwhite brightyellow cyan exclude green include magenta white yellow
do
	if [ -L /etc/logtool/$file ]
	then
		# fix for #858046
		rm /etc/logtool/$file
		if [ -f /etc/logtool/${file}~ ]
		then
			mv /etc/logtool/${file}~ /etc/logtool/${file}
		fi
	fi
	dpkg-maintscript-helper mv_conffile /etc/logtool/$file /etc/logtool/${file}.d/$file 1.2.8-9~ -- "$@"
done

#DEBHELPER#