create directory if it doesn't exist
This commit is contained in:
parent
f7ac73fe01
commit
dbd80e52a0
|
@ -6631,6 +6631,10 @@ function install_owncloud_official_deb {
|
||||||
|
|
||||||
# get the official owncloud deb package. Note that this is not the same as the one
|
# get the official owncloud deb package. Note that this is not the same as the one
|
||||||
# from the debian repos, and doesn't follow the debian packaging guidelines
|
# from the debian repos, and doesn't follow the debian packaging guidelines
|
||||||
|
if [ ! -d $INSTALL_DIR ]; then
|
||||||
|
mkdir $INSTALL_DIR
|
||||||
|
fi
|
||||||
|
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O owncloud.key
|
wget -nv https://download.owncloud.org/download/repositories/stable/Debian_8.0/Release.key -O owncloud.key
|
||||||
apt-key add - < owncloud.key
|
apt-key add - < owncloud.key
|
||||||
|
|
Loading…
Reference in New Issue