File: preinst

package info (click to toggle)
analog 2:6.0-22
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 6,772 kB
  • sloc: ansic: 45,186; makefile: 279; perl: 249; sh: 49
file content (8 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = upgrade ]; then
	if [ -e "/etc/analog.conf" ] && [ ! -e "/etc/analog.cfg" ]; then
		mv -f /etc/analog.conf /etc/analog.cfg
	fi
fi