diff options
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 } |