Fix deletion using wrong path
This commit is contained in:
parent
f669c3f793
commit
614de20c34
|
@ -627,10 +627,10 @@ op_del() {
|
|||
apache2ctl configtest
|
||||
for php_version in "${PHP_VERSIONS[@]}"; do
|
||||
if [ "$php_version" = "70" ]; then
|
||||
phpfpm_dir="/etc/php5/fpm/pool.d/"
|
||||
phpfpm_dir="/etc/php/7.0/fpm/pool.d/"
|
||||
initscript_path="/etc/init.d/php7.0-fpm"
|
||||
else
|
||||
phpfpm_dir="/etc/php/7.0/fpm/pool.d/"
|
||||
phpfpm_dir="/etc/php5/fpm/pool.d/"
|
||||
initscript_path="/etc/init.d/php5-fpm"
|
||||
fi
|
||||
rm /var/lib/lxc/php"${php_version}"/rootfs/${phpfpm_dir}/"${login}".conf
|
||||
|
|
Loading…
Reference in a new issue