added update script
This commit is contained in:
26
doc/update.sh
Normal file
26
doc/update.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
echo starting update
|
||||
|
||||
FILE=./ignoreDrives.conf
|
||||
if test -f "$FILE"; then
|
||||
echo backup exits
|
||||
else
|
||||
cp reHDD/ignoreDrives.conf ./ignoreDrives.conf
|
||||
fi
|
||||
|
||||
cd reHDD
|
||||
|
||||
git reset
|
||||
|
||||
git stash force
|
||||
|
||||
git stash
|
||||
|
||||
git checkout master
|
||||
|
||||
git pull
|
||||
|
||||
make release
|
||||
|
||||
cp ../ignoreDrives.conf ./
|
Reference in New Issue
Block a user