1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-28 04:20:10 -07:00

add remove old symlink

This commit is contained in:
KM4ACK 2020-05-14 13:53:30 -05:00
parent 768ada36fb
commit 0b42846295

9
setup
View File

@ -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