Server IP : 85.214.239.14 / Your IP : 3.135.214.226 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#! /bin/bash # preinst script for apache2 # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * <new-preinst> `install' # * <new-preinst> `install' <old-version> # * <new-preinst> `upgrade' <old-version> # * <old-preinst> `abort-upgrade' <new-version> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package FIXUP_TEMPFILE= # During the migration of conffiles from apache2.2-common to apache2, # some things may have gone wrong. # * Some conffiles may have been left with obsolete content. These # have an md5sum in this list. # * Some other conffiles may have been removed but dpkg still thinks that # they belong to apache2.2-common. A few of these have been re-introduced, # but dpkg being confused about their state causes dpkg to think the # admin has removed them and to not create the new content. # These have a 'restore' instead of a md5 in the list. list_fixup_conffiles () { cat <<- EOF /etc/bash_completion.d/apache2 6a5f85e62655f6b5c8fa0f95c7c35c9c removed /etc/apache2/sites-available/000-default.conf 2cc450cf300a880abbc3767fc002477d /etc/apache2/sites-available/default-ssl.conf 196d150beeaeaf845ece50d7e84e12de /etc/apache2/conf-available/charset.conf e6fbb8adf631932851d6cc522c1e48d7 /etc/apache2/conf-available/localized-error-pages.conf 844ba27ddb794fc6967bfb56b950e6a8 /etc/apache2/conf-available/other-vhosts-access-log.conf 2cad303fc4221d6b0068a8b37597b9fb /etc/apache2/conf-available/security.conf 0f644d9d04ad556f44f1e65674bc07dc /etc/apache2/mods-available/cern_meta.load restore /etc/apache2/mods-available/ident.load restore /etc/apache2/mods-available/imagemap.load restore EOF } create_fixup_conffiles_tgz () { FIXUP_TEMPFILE=$(mktemp) base64 -d > $FIXUP_TEMPFILE << EOF H4sIAAAAAAAAA+08/XfaSJLzq/kr+uG953iHTxs7c7687BGDE95i4wOc7MzNPaaRGtBYUrNqCczc 3P9+VdXdQsLEzu3bJLdZ9ZuxDequrq7vqi6l0WhUXTHjiR/XHBnOvvsMowHjvNWi3zB2f5+0Guff NV42Tk9PWs1z/L55ctpqfscanwOZ3ZGomEeMfRdJGT8177nn/6Dj1XsvihPuv5MqZn+8+KHxunRw yMYLwUYiWonohgeCuV4knNhbCaZErFgMTyPx10TAEuUsRCAqbAHrQ5zLQ5ctZRTDLB4jLJytCBZL lIDVknmuCGNvtmFerIQ/q8F+nmLwH0xw2XohQuZEgsdeOEcIkTAIyJDdDfuqxnohgQWBjcVDzOSM rfQxCA9VoafbAyAQtRSON/MAgTUgtsU3AAFgfLkUIAVemD3bkWJIlQu2ENwF7GOJcAIeOwuYBthm 96yxKxnRaqNNuafsBS2Yeb44prUIacX9ROCpQxnDKsdTSGEOhIhTWsAnznwOECKhkKoELRJzHrm+ UKqGgN7JtYCTVthGJvo8wCaEMgOUeLhhsyQCzKI8SuJh6XuOF/sbBJLh9nq9rokHHix9ASYhKJUO 9MO2GwCB1mIaAD4i+ndfOtxHUKWDjnSSAHg6BCVh9RWP6gCkvogDv4QItlfc8/nUF8yXcx9w9dUF iyPuiB8qrFarVfSHZgXIME3mFWDETFaQLp4DsrXmUVhBOCKKJBzTiby4wrgvIvgF0hfNiQw9Ihv3 lQQBVMrD/UDY0Kp58yQSxB2LANFmySPYIfF5RJyVbgI0BZA1AtiX8z5NRWyYUv4FIgIH6iI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Vi4hp6QIbwclL7e59nOFbuXvNPb+Mf1I3w/ZF KSxMxfIC6XJvmxsylat9vB+EyPnZDH4SWEv8tGaFD0uPvgs1R3RePx62L7umQdYoh0YUq+v4isYW V0jTfauf9h39qXQ3phOT2geEbsbERgOgjcfnIfDNc9gyiZYSNPC4lt1k30nsvqUxvsan356icxzm vjCHuJLR1HNteKF7p0l2TE9vynJP6NsBU8zEAvjuVLVRMTafeKEuLFoGMrTP+g14Wy6jThVAZMOw TpLZXkcumU31ebvb64jS4dDU23VvBRUJfq7NvfgjT9QqtGYrU/83/3AAmdBlhEXcmFGXBhVqSA3g a5pvSsKKDCEsxqIhEz41gkJo5grH55F+byz9lw+wboZ98KbES6ZOb0lWyDQxKlIW8z0ef2rf0XPp 3NoiUmX7L9VLDZdsXNX2kmP/jArBWpc/8YwU7DHlxfYlRhFMha7QaxNgOqk9tOw4DQ8+i8BsKNNQ BaaZjDCfc3xNDntwnPtfwYmQ4Gp38red0Z5wZJxX9VYC7A0r0/5VvJLAt+HAJeBLfUf/Vv62Y1IH LPEE780hGufu59njufyvue/ffzkp4r8vMfrAdVMkT0VhokOZbXuyLXKbEAd/T7aCo+S3rSLf9KB/ iucz6j6O5/S/8XJX/5tnzfNC/7/EyOg/icIn6b4WmkLvv4EB+eFcBHz5OU3A8/6/tev/m+enhf5/ iZHVfyMKn2YCrNwUVqAYxShGMYpRjGIUoxjFKEYxilGMYhSjGMUoRjGKUYxiFKMYxShGMYpRjGIU oxjFKEYxilGMLz7+F8lEYjQAeAAA EOF } extract_fixup_conffile () { local FILE=$1 local BASENAME=${FILE##*/} tar -xz -O -f $FIXUP_TEMPFILE $BASENAME > $FILE } replace_broken_conffiles () { local FILE local MD5 create_fixup_conffiles_tgz while read FILE MD5 REMOVED ; do if [ -f "$FILE" ] && md5sum "$FILE" | grep -q "^$MD5 " ; then echo "Replacing broken conffile ${FILE}." mv "$FILE" "${FILE}.dpkg-remove-fixup" if [ -z "$REMOVED" ] ; then extract_fixup_conffile "$FILE" fi elif [ ! -e "$FILE" ] && [ "$MD5" = "restore" ] ; then echo "Restoring lost conffile ${FILE}." extract_fixup_conffile "$FILE" fi done rm -f "$FIXUP_TEMPFILE" } revert_broken_conffiles () { local FILE local MD5 local REMOVE while read FILE MD5 REMOVED; do if [ -f "$FILE.dpkg-remove-fixup" ]; then echo "Moving broken conffile $FILE back." mv "${FILE}.dpkg-remove-fixup" "$FILE" fi done } case "$1" in upgrade|install) if dpkg --compare-versions "$2" lt-nl "2.4.23-3~" ; then list_fixup_conffiles | replace_broken_conffiles fi ;; abort-upgrade) list_fixup_conffiles | revert_broken_conffiles ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. # Automatically added by dh_installinit/13.11.4 if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/apache2" ] ; then chmod +x "/etc/init.d/apache2" >/dev/null || true fi # End automatically added section # Automatically added by dh_installinit/13.11.4 if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/apache-htcacheclean" ] ; then chmod +x "/etc/init.d/apache-htcacheclean" >/dev/null || true fi # End automatically added section exit 0