summarylogtreecommitdiffstats
path: root/freedns-daemon.install
blob: 1cad35952c2ff0130e113fa496443949569c7d9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## arg 1:  the new package version
post_install() {
	found_urls=false
	while read line; do

		#do not execute comments
		if [[ "$line" != \#* ]];then
			found_urls=true
		fi
		
	done </etc/freedns-daemon/urls
	
	if ! $found_urls; then
		echo 'Remeber to edit etc/freedns-daemon/urls setting yours DirectURLs!'
	fi
}