Commit b0fbd512 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update core/debian/postinst, core/debian/changelog, phpmyadmin/debian/changelog files

parent bc3806d7
sympl-core (10.0.200915.0) stable; urgency=medium
* Added Debian Backports with configuration to enable phpmyadmin installation
-- Paul Cammish <sympl@kelduum.net> Tue, 15 Sep 2020 16:45:10 +0100
sympl-core (10.0.200909.0) stable; urgency=medium
* sympl-filesystem-security: don't overwite permission in public/cgi-bin (#299)
......
......@@ -202,6 +202,23 @@ fi
# Run sympl-filesystem-security to enforce permissions
sympl-filesystem-security
# Enable Buster Backports, and pin the needed packages for sympl-phpmysql
if [ "$(lsb_release -c -s)" == "buster" ]; then
if [ $( cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | sed 's|#.*||' | grep -c '^deb .* buster-backports' ) -lt 1 ]; then
echo -n 'Enabling Debian buster-backports repo for phpmyadmin...'
echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/enable_backports.list
echo ' ok'
fi
if [ ! -f /etc/apt/preferences.d/sympl-phpmyadmin ]; then
echo -n 'Enabling install of phpmyadmin from backports...'
echo -e "Package: phpmyadmin\nPin: release a=buster-backports\nPin-Priority: 900" > /etc/apt/preferences.d/sympl-phpmyadmin
echo -e "Package: php-twig\nPin: release a=buster-backports\nPin-Priority: 900" >> /etc/apt/preferences.d/sympl-phpmyadmin
echo ' ok'
fi
fi
apt-get -qq update
# Create htop defaults
if [ ! -f /home/sympl/.config/htop/htoprc ]; then
mkdir -p /home/sympl/.config/htop/
......
sympl-phpmyadmin (10.0.200915.0) stable; urgency=medium
* Restored sympl-php-myadmin in Buster via Debian Backports
* Restored sympl-phpmyadmin in Buster via Debian Backports
-- Paul Cammish <sympl@kelduum.net> Tue, 15 Sep 2020 10:11:01 +0100
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment