This should now be ready to upload (ish).
This commit is contained in:
parent
03e0b5f538
commit
cee2f2143b
12
debian/lubuntu-update-notifier.postinst
vendored
Normal file
12
debian/lubuntu-update-notifier.postinst
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# This file can be removed following the release of Lubuntu 24.04 LTS
|
||||||
|
# It's to ensure a smooth transition between the autostart file and the new
|
||||||
|
# systemd user units provided
|
||||||
|
|
||||||
|
rm -f /etc/xdg/autostart/upg-notifier-autostart.desktop
|
||||||
|
rm -f /home/*/.config/autostart/upg-notifier-autostart.desktop
|
||||||
|
|
||||||
|
#DEBHELPER#
|
@ -16,8 +16,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
while true;
|
|
||||||
do
|
|
||||||
OUT=`/usr/lib/update-notifier/apt-check 2>&1`
|
OUT=`/usr/lib/update-notifier/apt-check 2>&1`
|
||||||
oldIFS=$IFS
|
oldIFS=$IFS
|
||||||
IFS=';'
|
IFS=';'
|
||||||
@ -38,5 +36,5 @@ while true;
|
|||||||
if [ "$NEWREL" -eq 0 ]; then
|
if [ "$NEWREL" -eq 0 ]; then
|
||||||
VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'`
|
VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader
|
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader
|
||||||
done;
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user