File: libradcli4.postinst

package info (click to toggle)
radcli 1.2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,768 kB
  • sloc: ansic: 6,089; sh: 767; makefile: 190; perl: 110
file content (17 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

case $1 in
    configure)
	for file in /etc/radcli/*.dpkg-migrated; do
	    if [ ! -e "$file" ]; then
		continue
	    fi
	    echo "Overwriting ${file%%.dpkg-migrated} with original file from libfreeradius-client2"
	    mv $file ${file%%.dpkg-migrated}
	done
    ;;
esac

#DEBHELPER#