We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7c9fde commit 8d71d63Copy full SHA for 8d71d63
1 file changed
src/deb/hestia/postinst
@@ -43,4 +43,16 @@ if [ "$DB_SYSTEM" = 'mysql' ]; then
43
rm -f phpMyAdmin-$pma_v-all-languages.tar.gz
44
fi
45
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
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
58
exit 0
0 commit comments