mirror of
https://github.com/Llewellynvdm/Backup-System.git
synced 2025-01-06 01:50:40 +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
|
$ 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
|
```bash
|
||||||
$ cd Backup-System/
|
$ cd Backup-System/
|
||||||
|
10
run.sh
10
run.sh
@ -50,12 +50,12 @@ BASEDIR="$PWD"
|
|||||||
# get random folder name to avoid conflict
|
# get random folder name to avoid conflict
|
||||||
newFolder=$(getRandom)
|
newFolder=$(getRandom)
|
||||||
# set this repo location
|
# set this repo location
|
||||||
tmpFolder="$USERHOME/T3MPR3P0_$newFolder"
|
tmpFolder="${USERHOME}T3MPR3P0_${newFolder}"
|
||||||
# create tmp folder
|
# create tmp folder
|
||||||
#if [ ! -d "$tmpFolder" ]
|
if [ ! -d "$tmpFolder" ]
|
||||||
#then
|
then
|
||||||
# mkdir -p "$tmpFolder"
|
mkdir -p "$tmpFolder"
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
# DB file
|
# DB file
|
||||||
databasesFileName="databases"
|
databasesFileName="databases"
|
||||||
|
Loading…
Reference in New Issue
Block a user