mirror of
https://github.com/km4ack/patmenu2.git
synced 2025-05-29 13:00:11 -07:00
add remove old symlink
This commit is contained in:
parent
768ada36fb
commit
0b42846295
9
setup
9
setup
@ -17,7 +17,7 @@ MAP=$MAP
|
||||
RIGCONTROL=$RIGCONTROL
|
||||
ARDOP=$ARDOP
|
||||
ARDOPGUI=$ARDOPGUI
|
||||
DIREWOLF=DIREWOLF
|
||||
DIREWOLF=$DIREWOLF
|
||||
KISS=$KISS
|
||||
AXP=$AXP
|
||||
RIG=$RIG
|
||||
@ -30,7 +30,7 @@ EOF
|
||||
|
||||
mv $NEWCONFIG $MYPATH/config
|
||||
|
||||
#create backup folder and copy any user config files
|
||||
#create backup folder and copy any user config files from patmenu1
|
||||
mkdir -p $BKDIR
|
||||
cp $HOME/patmenu/*config* $BKDIR
|
||||
#remove restore script that gets copied with above command
|
||||
@ -39,6 +39,11 @@ rm $BKDIR/restore-config
|
||||
#remove old patmenu
|
||||
rm -rf $HOME/patmenu
|
||||
|
||||
#remove old shortcut if exist
|
||||
if [ -f $HOME/Desktop/Pat-Menu ]; then
|
||||
rm $HOME/Desktop/Pat-Menu
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user