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
|
RIGCONTROL=$RIGCONTROL
|
||||||
ARDOP=$ARDOP
|
ARDOP=$ARDOP
|
||||||
ARDOPGUI=$ARDOPGUI
|
ARDOPGUI=$ARDOPGUI
|
||||||
DIREWOLF=DIREWOLF
|
DIREWOLF=$DIREWOLF
|
||||||
KISS=$KISS
|
KISS=$KISS
|
||||||
AXP=$AXP
|
AXP=$AXP
|
||||||
RIG=$RIG
|
RIG=$RIG
|
||||||
@ -30,7 +30,7 @@ EOF
|
|||||||
|
|
||||||
mv $NEWCONFIG $MYPATH/config
|
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
|
mkdir -p $BKDIR
|
||||||
cp $HOME/patmenu/*config* $BKDIR
|
cp $HOME/patmenu/*config* $BKDIR
|
||||||
#remove restore script that gets copied with above command
|
#remove restore script that gets copied with above command
|
||||||
@ -39,6 +39,11 @@ rm $BKDIR/restore-config
|
|||||||
#remove old patmenu
|
#remove old patmenu
|
||||||
rm -rf $HOME/patmenu
|
rm -rf $HOME/patmenu
|
||||||
|
|
||||||
|
#remove old shortcut if exist
|
||||||
|
if [ -f $HOME/Desktop/Pat-Menu ]; then
|
||||||
|
rm $HOME/Desktop/Pat-Menu
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user