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:
commit
785706fb26
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ final_path=/var/www/$app
|
||||||
sudo rm -rf $final_path
|
sudo rm -rf $final_path
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
echo "Downloading phpLDAPadmin $version..."
|
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..."
|
echo "Extracting to $final_path..."
|
||||||
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
|
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
|
||||||
sudo cp -ar ../phpldapadmin-$version/. $final_path
|
sudo cp -ar ../phpldapadmin-$version/. $final_path
|
||||||
|
|
|
@ -22,7 +22,7 @@ final_path=/var/www/$app
|
||||||
sudo rm -rf $final_path
|
sudo rm -rf $final_path
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
echo "Downloading phpLDAPadmin $version..."
|
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..."
|
echo "Extracting to $final_path..."
|
||||||
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
|
sudo tar xvzf ../phpLDAPadmin.tar.gz -C .. > /dev/null 2>&1
|
||||||
sudo cp -ra ../phpldapadmin-$version/. $final_path
|
sudo cp -ra ../phpldapadmin-$version/. $final_path
|
||||||
|
|
Loading…
Reference in a new issue