mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-03-13 23:31:35 -04:00
warn and exit if PPA folder already exists
This commit is contained in:
parent
c2d227b403
commit
0aaa7bb490
@ -21,6 +21,11 @@ fi
|
|||||||
|
|
||||||
if [ ! -d "$PPA_DIR" ]; then
|
if [ ! -d "$PPA_DIR" ]; then
|
||||||
mkdir -p "$PPA_DIR"
|
mkdir -p "$PPA_DIR"
|
||||||
|
else
|
||||||
|
echo -n "PPA work folder already exists: $PPA_DIR
|
||||||
|
Move this folder aside or remove it.
|
||||||
|
"
|
||||||
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# tar 1.28 required for --exclude-vcs-ignores
|
# tar 1.28 required for --exclude-vcs-ignores
|
||||||
|
Loading…
Reference in New Issue
Block a user