diff -Nru casper-1.376+zorin4/debian/changelog casper-1.376.2+zorin1/debian/changelog --- casper-1.376+zorin4/debian/changelog 2016-09-18 18:38:22.000000000 +0000 +++ casper-1.376.2+zorin1/debian/changelog 2016-11-04 15:37:46.000000000 +0000 @@ -1,3 +1,24 @@ +casper (1.376.2+zorin1) xenial; urgency=medium + + * Made modifications for Zorin OS 12 + + -- Artyom Zorin Fri, 04 Nov 2016 15:37:42 +0000 + +casper (1.376.2) xenial-proposed; urgency=medium + + * Make scripts/casper-bottom/53disable_unattended_upgrades executable. + (LP: #1619188) + + -- Brian Murray Tue, 11 Oct 2016 09:32:27 -0700 + +casper (1.376.1) xenial-proposed; urgency=medium + + * scripts/casper-bottom/53disable_unattended_upgrades: + - Disable the security allowed origin as it can fill a live environment. + (LP: #1619188) + + -- Brian Murray Mon, 03 Oct 2016 16:36:57 -0700 + casper (1.376+zorin4) xenial; urgency=medium * Ready for public use in Zorin OS 12 diff -Nru casper-1.376+zorin4/scripts/casper-bottom/53disable_unattended_upgrades casper-1.376.2+zorin1/scripts/casper-bottom/53disable_unattended_upgrades --- casper-1.376+zorin4/scripts/casper-bottom/53disable_unattended_upgrades 1970-01-01 00:00:00.000000000 +0000 +++ casper-1.376.2+zorin1/scripts/casper-bottom/53disable_unattended_upgrades 2016-10-03 23:36:53.000000000 +0000 @@ -0,0 +1,30 @@ +#!/bin/sh + +PREREQ="" +DESCRIPTION="Disabling security unattended-upgrades..." + +prereqs() +{ + echo "$PREREQ" +} + +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +. /scripts/casper-functions + +log_begin_msg "$DESCRIPTION" + +# Stop downloading and installing security updates automatically +# as they can fill up a Live CD or presistent environment. (LP: #1619188) +SECURITY='"${distro_id}:${distro_codename}-security";' +if grep -q "^\s\+$SECURITY$" /root/etc/apt/apt.conf.d/50unattended-upgrades; then + sed -i "s/\(\s\+\)$SECURITY/\/\/\1$SECURITY/" /root/etc/apt/apt.conf.d/50unattended-upgrades +fi + +log_end_msg