summarylogtreecommitdiffstats
path: root/neon-wallet-bin.install
blob: 5eec15ac7cb398b93d0e27aad61d8843f30c1b84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
	echo "Symlink has been installed for /usr/bin/neon-wallet"
	ln -s /opt/Neon/neon /usr/bin/neon-wallet
}

post_upgrade() {
	if [ ! -e /usr/bin/neon-wallet ]; then
		echo "Symlink has been installed for /usr/bin/neon-wallet"
		ln -s /opt/Neon/neon /usr/bin/neon-wallet
	else
		echo "Symlink already present, not reinstalling"
	fi
}

post_remove() {
	echo "Symlink to /usr/bin/neon-wallet has been removed"
	rm -f /usr/bin/neon-wallet
}