This should now be ready to upload (ish).
This commit is contained in:
parent
fa2ee62ea8
commit
460e11d25f
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,13 +16,11 @@
|
||||
# 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
|
||||
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;;
|
||||
@ -30,7 +28,6 @@ while true;
|
||||
SEC=$STRING;;
|
||||
esac
|
||||
j=`expr $j + 1`
|
||||
done
|
||||
IFS=$oldIFS
|
||||
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -p /usr/bin/lubuntu-upgrader
|
||||
done;
|
||||
done
|
||||
IFS=$oldIFS
|
||||
/usr/libexec/lubuntu-update-notifier/lubuntu-notifier.py -u $UPG -s $SEC -p /usr/bin/lubuntu-upgrader
|
||||
|
Loading…
x
Reference in New Issue
Block a user