LINUX LITE 7.4 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lite Software - Suggestions welcomed
#13
Maybe something like this?
I can't make it better, maybe someone will figure it out.
Code:
#!/bin/bash

# Linux lite update script


x=$( gksudo -g --message 'To update package lists your password is required. Enter your password, or press Cancel.' "stdbuf -oL sudo apt-get update"   |
stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\*$/ s/^/# /p'|
zenity --progress --title="Updating" --pulsate \
--width=600 --auto-close )
Code:
#!/bin/bash

# Linux lite upgrade script

y=$( gksudo -g --message 'To install updates your password is required. Enter your password, or press Cancel.' "stdbuf -oL sudo apt-get -y upgrade" |
stdbuf -oL sed -n -e '/\[*$/ s/^/# /p' -e '/\.\.\.$/ s/^/# /p' -e '/\*$/ s/^/# /p' |
zenity --progress --title="Upgrading" --pulsate \
--width=600  )
Reply


Messages In This Thread
Re: A GUI tool to install additional software in Linux Lite 2.0 - by misko_2083 - 08-27-2014, 12:17 AM
Re: Lite Software - Suggestions welcomed - by crismblog - 10-07-2014, 05:48 PM
Re: Lite Software - Suggestions welcomed - by nvm - 04-06-2020, 08:21 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)