summarylogtreecommitdiffstats
path: root/neon-wallet-bin.install
diff options
context:
space:
mode:
authorStevesAMonkey2018-01-25 15:11:38 +1030
committerStevesAMonkey2018-01-25 15:11:38 +1030
commit5f46888f45d403ce6361112ad069ad4fe8cb1038 (patch)
treef185ee1a29c88a84da457a79e8c7287d5b539bd6 /neon-wallet-bin.install
parentc346b74aa88f91e1b01218ec71086f108229343e (diff)
downloadaur-5f46888f45d403ce6361112ad069ad4fe8cb1038.tar.gz
Moving to neon-wallet-bin
Diffstat (limited to 'neon-wallet-bin.install')
-rw-r--r--neon-wallet-bin.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/neon-wallet-bin.install b/neon-wallet-bin.install
new file mode 100644
index 000000000000..6ebc00925cfa
--- /dev/null
+++ b/neon-wallet-bin.install
@@ -0,0 +1,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
+}