summarylogtreecommitdiffstats
path: root/neon-wallet.install
blob: 39051738aa1bfc4fedc7a15cf71572849f06944e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
	echo "#######################################################"
	echo "Please upgrade your Ledger software too if you have one"
	echo "#######################################################"
}

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