mirror of
https://github.com/Llewellynvdm/Backup-System.git
synced 2024-12-12 08:57:47 +00:00
Fixed tmp folder issue
This commit is contained in:
parent
be01e19c56
commit
000fff2528
@ -20,7 +20,7 @@ Clone Repository
|
||||
$ git clone https://github.com/vdm-io/Backup-System.git Backup-System
|
||||
```
|
||||
|
||||
Make sure all the run file is executable
|
||||
Make sure the run file is executable
|
||||
|
||||
```bash
|
||||
$ cd Backup-System/
|
||||
|
10
run.sh
10
run.sh
@ -50,12 +50,12 @@ BASEDIR="$PWD"
|
||||
# get random folder name to avoid conflict
|
||||
newFolder=$(getRandom)
|
||||
# set this repo location
|
||||
tmpFolder="$USERHOME/T3MPR3P0_$newFolder"
|
||||
tmpFolder="${USERHOME}T3MPR3P0_${newFolder}"
|
||||
# create tmp folder
|
||||
#if [ ! -d "$tmpFolder" ]
|
||||
#then
|
||||
# mkdir -p "$tmpFolder"
|
||||
#fi
|
||||
if [ ! -d "$tmpFolder" ]
|
||||
then
|
||||
mkdir -p "$tmpFolder"
|
||||
fi
|
||||
|
||||
# DB file
|
||||
databasesFileName="databases"
|
||||
|
Loading…
Reference in New Issue
Block a user