diff options
author | Nicolas Guilloux | 2019-05-01 15:11:58 +0200 |
---|---|---|
committer | Nicolas Guilloux | 2019-05-01 15:12:16 +0200 |
commit | c6a2dfd110ff2616a1b37f673503543e4a7dec43 (patch) | |
tree | 264c93ca5b3425c9aa58db81e149671995a641e1 /shadow-beta.install | |
parent | 9821fd463c820ce207c2f80293e8efcf32853889 (diff) | |
download | aur-c6a2dfd110ff2616a1b37f673503543e4a7dec43.tar.gz |
Update to 4.3.1
Diffstat (limited to 'shadow-beta.install')
-rw-r--r-- | shadow-beta.install | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/shadow-beta.install b/shadow-beta.install index af98596a8ac0..cf06b09fe7d0 100644 --- a/shadow-beta.install +++ b/shadow-beta.install @@ -6,7 +6,7 @@ post_install() { done # Create the link to the binary - ln -sf '/opt/Shadow Beta/shadow-dev' '/usr/bin/shadow-beta' + ln -sf '/opt/shadowbeta/shadow-wrapper.pl' '/usr/bin/shadow-beta' } post_remove() { @@ -16,22 +16,6 @@ post_remove() { if [ -d /home/$user/.config/Shadow\ Beta ]; then rm -R /home/$user/.config/Shadow\ Beta fi - - if [ -d /home/$user/.config/shadow-beta ]; then - rm -R /home/$user/.config/shadow-beta - fi - - if [ -d /home/$user/.config/shadowbeta ]; then - rm -R /home/$user/.config/shadowbeta - fi - - if [ -d /home/$user/.config/shadow-preprod ]; then - rm -R /home/$user/.config/shadow-preprod - fi - - if [ -d /home/$user/.config/shadow-dev ]; then - rm -R /home/$user/.config/shadow-dev - fi done } @@ -40,14 +24,8 @@ pre_upgrade(){ if [ -d "/opt/Shadow Beta" ]; then rm -r "/opt/Shadow Beta" fi - - # Delete the old version of Shadow - if [ -d "/opt/shadowbeta" ]; then - rm -r "/opt/shadowbeta" - fi } post_upgrade(){ - # Replace current shortcut with the new one - ln -sf '/opt/Shadow Beta/shadow-dev' '/usr/bin/shadow-beta' + post_install } |