Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/lib/dpkg/info/ |
Current File : //var/lib/dpkg/info/libapache2-mod-python.prerm |
#!/bin/sh set -e if [ "$1" = remove ] || [ "$1" = purge ]; then if [ -e /etc/apache2/apache2.conf ] && [ -x /usr/sbin/a2dismod ]; then a2dismod python || true fi fi # Automatically added by dh_pycentral case "$1" in remove|upgrade) pkgremove=y esac if [ -f /var/lib/pycentral/libapache2-mod-python.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ]; then pkgremove=y fi if [ "$pkgremove" = y ]; then if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then pycentral pkgremove libapache2-mod-python else flist=$(tempfile) slist=$(tempfile) dpkg -L libapache2-mod-python | tee $flist | \ while read n; do case "$n" in /usr/share/pyshared/*) n2=${n#/usr/share/pyshared/*} case "$n" in *.py) echo "p $n";; *) [ -d "$n" ] && echo "d $n2" || echo "f $n2" esac ;; *) continue esac done > $slist if [ -s $slist ]; then for d in /usr/lib/python[0-9].[0-9]/????-packages; do case "$d" in */python2.1/*|*/python2.2/*) continue; esac while read t n; do case "$t" in p) rm -f $d/$n $d/${n}[co];; d) rmdir $d/$n 2>/dev/null || true;; *) rm -f $d/$n esac done < $slist done fi awk '/\/usr\/share\/pyshared/ {next} /\.py$/ {print $0"c\n" $0"o"}' $flist \ | xargs -r rm -f >&2 rm -f $flist $slist fi rm -f /var/lib/pycentral/libapache2-mod-python.pkgremove fi # End automatically added section exit 0
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare