summarylogtreecommitdiffstats
path: root/pacredir.install
blob: aae5412dabb8ab82b9d2452ba59ca6c6a9faaa80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

post_install() {
	echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
}

post_upgrade() {
	# return if old package version greater 0.3...
	(( $(vercmp $2 '0.3') > 0 )) && return

	# upgrade from pre-0.3 version, avahi service names changed
	echo " > This upgrade from pacredir $2 to pacredir $1 changes avahi service"
	echo " > names. Make sure to update all your installations for compatibility."
}