Compare commits

..

11 Commits

Author SHA1 Message Date
a405f3fa05 Actualizar 'debian/changelog' 2023-12-01 22:31:42 -06:00
7116040437 Galician translate. 2023-12-01 22:31:20 -06:00
ba692e2f6b Bump the version, upload to Backports. 2023-12-01 14:15:09 -06:00
135bccd67b Add appropriate changelog entries for the new translations. 2023-12-01 14:14:27 -06:00
Roberalz
87845fe644 Delete po/gl.po 2023-12-01 14:14:03 -06:00
Roberalz
6201fdcce4 Galician and Basque traductions 2023-12-01 14:14:03 -06:00
Roberalz
f1d4bacae5 Update es.po 2023-12-01 14:14:03 -06:00
165482739e Update translation sources. 2023-11-29 17:46:14 -06:00
vaba
7bf8364e45 Add files via upload (#6) 2023-11-29 16:57:38 -06:00
Roberalz
dc4fd8e2e9 Update upg-apply.desktop (#4) 2023-11-29 16:57:14 -06:00
FuRuYa7
5e6f21865d Added Japanese translation "po/ja.po" file (#3) 2023-11-29 16:57:09 -06:00
7 changed files with 36 additions and 53 deletions

View File

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

View File

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

View File

@ -1,12 +0,0 @@
#!/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

@ -1,7 +0,0 @@
[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

@ -1,10 +0,0 @@
[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,25 +16,28 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
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
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
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
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;