mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
added getvara download if needed
This commit is contained in:
@@ -92,6 +92,18 @@ ed50cbf48ed223efd/raw/efe402285290b46c700d9d29e285c0686b79314f/getardoplist ||
|
||||
|
||||
fi
|
||||
|
||||
if ! hash getvaralist; then
|
||||
wget -P $USERDIR -N https://gist.githubusercontent.com/km4ack/2b5db90724cab67\
|
||||
ed50cbf48ed223efd/raw/efe402285290b46c700d9d29e285c0686b79314f/getardoplist ||
|
||||
{ ERRCODE="Failed to download getardoplist script"; errors; return; }
|
||||
|
||||
sed 's/ardop/vara/g' $USERDIR/getardoplist >> $USERDIR/getvaralist ||
|
||||
{ ERRCODE="Failed to clone and modify getardop to gitvara"; errors; return; }
|
||||
|
||||
chmod +x $USERDIR/getvaralist && sudo mv $USERDIR/getvaralist /usr/local/bin/ ||
|
||||
{ ERRCODE="Failed to add getvaralist to /usr/local/bin"; errors; return; }
|
||||
fi
|
||||
|
||||
if [[ ! -f $HOME/Documents/grid-map.pdf ]]; then
|
||||
#wget -O $HOME/Documents/grid-map.pdf http://www.icomamerica.com/en/amateur/amateurtools/2013_GridSquareMap.pdf
|
||||
cp $HOME/setup-scripts/Files/2013_GridSquareMap.pdf $HOME/Documents/grid-map.pdf ||
|
||||
|
||||
Reference in New Issue
Block a user