changed directory
This commit is contained in:
@@ -25,7 +25,7 @@ in
|
|||||||
(pkgs.writeShellScriptBin "ad-clone" ''
|
(pkgs.writeShellScriptBin "ad-clone" ''
|
||||||
if [ ! -d ${adPath} ]; then
|
if [ ! -d ${adPath} ]; then
|
||||||
sudo git clone -b ${adBranch} ${adRepo} ${adPath}
|
sudo git clone -b ${adBranch} ${adRepo} ${adPath}
|
||||||
sudo chown -R appdaemon:users ${adPath}
|
sudo chown -R appdaemon:users $(dirname ${adPath})
|
||||||
else
|
else
|
||||||
echo "${adPath} already exists"
|
echo "${adPath} already exists"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user