summarylogtreecommitdiffstats
path: root/neon-wallet-bin.install
blob: 6ebc00925cfac86eb9e42eec5a4197ee87c8c14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
post_install() {
	echo "Symlink has been installed for /usr/bin/neon-wallet"
	ln -s /opt/Neon/neon /usr/bin/neon-wallet
	echo \
		"####################################
If you're using the Neon App, please
ensure you're using version 1.1.1 or
above
####################################"
}

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 \
                "####################################
If you're using the Neon App, please
ensure you're using version 1.1.1 or
above
####################################"
}

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