milis/talimatname/genel/p/php7/php7.kos-kur

13 lines
469 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cakisan=php
if [ -d /var/lib/pkg/DB/$cakisan ]; then
echo "php7 sürümü siliniyor."
nokta=`date +%m-%d-%y.%H%M%S`
mkdir -p /var/lib/pkg/koruma
[ -f /etc/php.ini ] && cp /etc/php.ini /var/lib/pkg/koruma/php.ini.$nokta
[ -f /etc/php-fpm.conf ] && cp /etc/php-fpm.conf /var/lib/pkg/koruma/php-fpm.conf.$nokta
[ -f /etc/pear.conf ] && cp /etc/pear.conf /var/lib/pkg/koruma/pear.conf.$nokta
mps -sz $cakisan
else
echo "çakışan $cakisan paketi mevcut degil."
fi