1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpldapadmin_ynh.git synced 2024-09-03 19:56:45 +02:00

Merge pull request #3 from YunoHost-Apps/fix_stretch_compatibility

Workaround to fix Stretch compatibility
This commit is contained in:
JimboJoe 2018-10-15 20:17:00 +02:00 committed by GitHub
commit 785706fb26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ final_path=/var/www/$app
sudo rm -rf $final_path
sudo mkdir -p $final_path
echo "Downloading phpLDAPadmin $version..."
sudo wget -O ../phpLDAPadmin.tar.gz http://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/$version/phpldapadmin-$version.tgz/download > /dev/null 2>&1
sudo wget -O ../phpLDAPadmin.tar.gz http://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php%35/$version/phpldapadmin-$version.tgz/download > /dev/null 2>&1
echo "Extracting to $final_path..."
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
sudo cp -ar ../phpldapadmin-$version/. $final_path

View file

@ -22,7 +22,7 @@ final_path=/var/www/$app
sudo rm -rf $final_path
sudo mkdir -p $final_path
echo "Downloading phpLDAPadmin $version..."
sudo wget -O ../phpLDAPadmin.tar.gz http://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/$version/phpldapadmin-$version.tgz/download > /dev/null 2>&1
sudo wget -O ../phpLDAPadmin.tar.gz http://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php%35/$version/phpldapadmin-$version.tgz/download > /dev/null 2>&1
echo "Extracting to $final_path..."
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
sudo cp -ra ../phpldapadmin-$version/. $final_path