diff options
author | StevesAMonkey | 2018-01-25 15:11:38 +1030 |
---|---|---|
committer | StevesAMonkey | 2018-01-25 15:11:38 +1030 |
commit | 5f46888f45d403ce6361112ad069ad4fe8cb1038 (patch) | |
tree | f185ee1a29c88a84da457a79e8c7287d5b539bd6 /neon-wallet-bin.install | |
parent | c346b74aa88f91e1b01218ec71086f108229343e (diff) | |
download | aur-5f46888f45d403ce6361112ad069ad4fe8cb1038.tar.gz |
Moving to neon-wallet-bin
Diffstat (limited to 'neon-wallet-bin.install')
-rw-r--r-- | neon-wallet-bin.install | 30 |
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 +} |