File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -43,4 +43,16 @@ if [ "$DB_SYSTEM" = 'mysql' ]; then
4343 rm -f phpMyAdmin-$pma_v -all-languages.tar.gz
4444fi
4545
46+ # Add amd64 to repositorys to prevent notifications - https://goo.gl/hmsSV7
47+ if ! grep -q ' amd64' /etc/apt/sources.list.d/nginx.list; then
48+ sed s/deb/" deb [arch=amd64]" /g /etc/apt/sources.list.d/nginx.list
49+ fi
50+ if ! grep -q ' amd64' /etc/apt/sources.list.d/mariadb.list; then
51+ sed s/deb/" deb [arch=amd64]" /g /etc/apt/sources.list.d/mariadb.list
52+ fi
53+
54+ # Fix named rule for AppArmor - https://goo.gl/SPqHdq
55+ if [ " $DNS_SYSTEM " = ' bind9' ] && [ ! -f /etc/apparmor.d/local/usr.sbin.named ]; then
56+ echo " /home/** rwm," >> /etc/apparmor.d/local/usr.sbin.named 2> /dev/null
57+ fi
4658exit 0
You can’t perform that action at this time.
0 commit comments