forked from switnet/quick-jibri-installer
Fix patching and nc download
This commit is contained in:
parent
ef10d3c18f
commit
d911bcaad1
|
@ -316,8 +316,8 @@ echo "
|
||||||
Latest version to be installed: $STABLEVERSION
|
Latest version to be installed: $STABLEVERSION
|
||||||
"
|
"
|
||||||
curl -s $NC_REPO/$STABLEVERSION.zip > /tmp/$STABLEVERSION.zip
|
curl -s $NC_REPO/$STABLEVERSION.zip > /tmp/$STABLEVERSION.zip
|
||||||
unzip -q $STABLEVERSION.zip
|
unzip -q /tmp/$STABLEVERSION.zip
|
||||||
sudo mv nextcloud $NC_PATH
|
mv nextcloud $NC_PATH
|
||||||
|
|
||||||
chown -R www-data:www-data $NC_PATH
|
chown -R www-data:www-data $NC_PATH
|
||||||
chmod -R 755 $NC_PATH
|
chmod -R 755 $NC_PATH
|
||||||
|
@ -325,9 +325,7 @@ chmod -R 755 $NC_PATH
|
||||||
if $(dpkg --compare-versions "$NCVERSION" "le" "18.0.3"); then
|
if $(dpkg --compare-versions "$NCVERSION" "le" "18.0.3"); then
|
||||||
echo "
|
echo "
|
||||||
-> Patching #425 (scssphp/src/Compiler.php)..."
|
-> Patching #425 (scssphp/src/Compiler.php)..."
|
||||||
#sudo -u www-data cp -s https://nc.switnet.net/s/J89EmtEKcgj9AwP/download \
|
sudo -u www-data patch -d "$NC_PATH/3rdparty/leafo/scssphp/src/" -p0 < files/patch_425_3dty.patch
|
||||||
#> $NC_PATH/3rdparty/leafo/scssphp/src/patch_425_3thy.patch
|
|
||||||
sudo -u www-data patch -d "$NC_PATH/3rdparty/leafo/scssphp/src/" -p0 < files/patch_425_3thy.patch
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
|
|
Loading…
Reference in New Issue