File manager - Edit - /var/lib/dpkg/info/squid.preinst
Back
#! /bin/sh set -e # # Add the "proxy" user/group to /etc/passwd if needed. # if ! getent passwd proxy then # # Let's hope that this works; if /var/spool/squid is # already present this fails :( # adduser --system --home /var/spool/squid --group proxy # # Change the shell so that cron jobs will work. # (They run as root now, but you can never know). # chsh -s /bin/sh proxy fi disable_profile() { APP_CONFFILE="/etc/apparmor.d/usr.sbin.squid" APP_DISABLE="/etc/apparmor.d/disable/usr.sbin.squid" # Create a symlink to the yet-to-be-unpacked profile if [ ! -e "$APP_CONFFILE" ]; then mkdir -p `dirname $APP_DISABLE` 2>/dev/null || true ln -sf $APP_CONFFILE $APP_DISABLE fi } if [ "$1" = "install" ]; then # Disable AppArmor profile on install disable_profile fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. # Automatically added by dh_installdeb/13.3.4 dpkg-maintscript-helper rm_conffile /etc/squid3/msntauth.conf 3.5.4-1\~ squid3 -- "$@" dpkg-maintscript-helper mv_conffile /etc/squid3/squid.conf /etc/squid/squid.conf 3.5.4-1\~ squid3 -- "$@" dpkg-maintscript-helper mv_conffile /etc/squid3/errorpage.css /etc/squid/errorpage.css 3.5.4-1\~ squid3 -- "$@" # End automatically added section exit 0
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.42 |
proxy
|
phpinfo
|
Settings