summarylogtreecommitdiffstats
path: root/ente-auth-bin.install
blob: 2d55585dda4f8225c3a6eaacf7882e28a3fa3dbc (plain)
1
2
3
4
5
6
pre_upgrade() {
	# Needed to prevent orphaned files when upgrading from ente-auth-bin <= 4.0.2
	if [ "$(readlink /usr/bin/ente_auth)" = "/usr/share/ente_auth/ente_auth" ]; then
    	rm /usr/bin/ente_auth
	fi
}