Rough, initial migration to systemd units.
This commit is contained in:
parent
ebaacb49c2
commit
03e0b5f538
@ -1,7 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Exec=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh
|
|
||||||
NoDisplay=true
|
|
||||||
Name=upgNotifier
|
|
||||||
Icon=system-software-update
|
|
||||||
Type=Application
|
|
||||||
Version=0.1
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
lubuntu-update-notifier (0.6.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Rough, initial migration to systemd units.
|
||||||
|
|
||||||
|
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 10 Oct 2023 14:14:56 -0500
|
||||||
|
|
||||||
lubuntu-update-notifier (0.6.0) mantic; urgency=medium
|
lubuntu-update-notifier (0.6.0) mantic; urgency=medium
|
||||||
|
|
||||||
* Add support for release upgrading, when all updates are applied (LP: #2038958).
|
* Add support for release upgrading, when all updates are applied (LP: #2038958).
|
||||||
|
2
debian/lubuntu-update-notifier.install
vendored
2
debian/lubuntu-update-notifier.install
vendored
@ -1,2 +0,0 @@
|
|||||||
#data/upg-apply.desktop usr/share/applications
|
|
||||||
data/upg-notifier-autostart.desktop etc/xdg/autostart
|
|
7
debian/lubuntu-update-notifier.user.service
vendored
Normal file
7
debian/lubuntu-update-notifier.user.service
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Lubuntu Update Notifier
|
||||||
|
Wants=update-notifier-download.timer
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/libexec/lubuntu-update-notifier/lubuntu-upg-notifier.sh
|
10
debian/lubuntu-update-notifier.user.timer
vendored
Normal file
10
debian/lubuntu-update-notifier.user.timer
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Lubuntu Update Notifier
|
||||||
|
Requires=lubuntu-update-notifier.service
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
Unit=lubuntu-update-notifier.service
|
||||||
|
OnCalendar=*-*-* *:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@ -39,5 +39,4 @@ while true;
|
|||||||
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
|
||||||
sleep 86400
|
|
||||||
done;
|
done;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user