Compare commits

..

12 Commits

Author SHA1 Message Date
b6ad4da554 Actualizar 'debian/changelog' 2023-12-01 22:29:28 -06:00
18afebb4df Galician translate. 2023-12-01 22:18:59 +00:00
7b0361b969 Add appropriate changelog entries for the new translations. 2023-12-01 14:12:47 -06:00
Roberalz
940bdd320c
Delete po/gl.po 2023-12-01 19:03:51 +01:00
Roberalz
8d4c10c1a6
Galician and Basque traductions 2023-12-01 16:39:10 +01:00
Roberalz
01a7816d7e
Update es.po 2023-12-01 14:32:53 +01:00
a5da2f12fb Update translation sources. 2023-11-29 17:44:06 -06:00
vaba
1e809cd92f Add files via upload (#6) 2023-11-29 16:46:07 -06:00
Roberalz
10eb134e54 Update upg-apply.desktop (#4) 2023-11-29 16:35:16 -06:00
FuRuYa7
9ef796d74d Added Japanese translation "po/ja.po" file (#3) 2023-11-29 16:33:44 -06:00
cee2f2143b This should now be ready to upload (ish). 2023-10-10 14:16:52 -05:00
03e0b5f538 Rough, initial migration to systemd units. 2023-10-10 14:15:55 -05:00
7 changed files with 53 additions and 36 deletions

View File

@ -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
View File

@ -1,7 +1,7 @@
lubuntu-update-notifier (0.6.1~ppa23.10.4) mantic; urgency=medium
lubuntu-update-notifier (0.6.1) UNRELEASED; urgency=medium
[ Simon Quigley ]
* Backport to Mantic.
* Rough, initial migration to systemd units.
* Update translation sources.
[ FuRuYa7 ]
@ -16,7 +16,7 @@ lubuntu-update-notifier (0.6.1~ppa23.10.4) mantic; urgency=medium
[ vaba ]
* Add an Estonian translation.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 01 Dec 2023 14:14:49 -0600
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 10 Oct 2023 14:14:56 -0500
lubuntu-update-notifier (0.6.0) mantic; urgency=medium

View File

@ -1,2 +0,0 @@
#data/upg-apply.desktop usr/share/applications
data/upg-notifier-autostart.desktop etc/xdg/autostart

12
debian/lubuntu-update-notifier.postinst vendored Normal file
View 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#

View 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

View 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

View File

@ -16,28 +16,25 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
while true;
do
OUT=`/usr/lib/update-notifier/apt-check 2>&1`
oldIFS=$IFS
IFS=';'
j=0
for STRING in $OUT; do
case $j in
0)
UPG=$STRING;;
1)
SEC=$STRING;;
esac
j=`expr $j + 1`
done
IFS=$oldIFS
OUT=`/usr/lib/update-notifier/apt-check 2>&1`
oldIFS=$IFS
IFS=';'
j=0
for STRING in $OUT; do
case $j in
0)
UPG=$STRING;;
1)
SEC=$STRING;;
esac
j=`expr $j + 1`
done
IFS=$oldIFS
NEWREL_CHECK=`/usr/bin/do-release-upgrade -c 2>&1`
NEWREL=$?
if [ "$NEWREL" -eq 0 ]; then
VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'`
fi
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader
sleep 86400
done;
NEWREL_CHECK=`/usr/bin/do-release-upgrade -c 2>&1`
NEWREL=$?
if [ "$NEWREL" -eq 0 ]; then
VERSION=`echo $NEWREL_CHECK | awk -F\' '/available/{print $2}'`
fi
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -r $NEWREL -v $VERSION -p /usr/bin/lubuntu-upgrader