01-29-2015, 09:00 PM
Hey, I like what he did. It's going to be so easy to maintain the new lite-software. But at first I couldn't run it
I've checked with bash -n
Noticed in line 282
--column arguments
Worked with this:
Installation and removal of few packages worked. When installing and removing dialog shows a progress bar.
I've opened a gdebi-gtk and it wasn't detected as I assumed because pidof can't find it.
That's in line 43
I guess this will do
Next, line 44 will close the package managers even if you click No
so I would change that to
Other than that this is perfect. I can't wait to see how he will manage to get download progress and data transfer rates working.
Maybe he can use pv. sudo apt-get install pv
http://blog.allanglesit.com/2011/08/bash...ess-of-dd/
It would be best if he could make it read stdout from apt-get.
Thanks for a generous donation Wirezfree.
I've checked with bash -n
Code:
bash -n ./lite-software
./lite-software: line 600: syntax error: unexpected end of file
Code:
--title="Lite-Software manager" --column "Choice" --column "Action" --column "Code Action" --hide-column=3\
Worked with this:
Code:
--title="Lite-Software manager" --column="Choice" --column="Action" --column="Code Action" --hide-column=3 \
I've opened a gdebi-gtk and it wasn't detected as I assumed because pidof can't find it.
That's in line 43
Code:
if [ "$(pidof synaptic gdebi-gtk)" ]; then
Code:
if [[ "$(pidof synaptic)"||"$(pgrep gdebi-gtk)" ]]; then
so I would change that to
Code:
if zenity --question --ok-label="Yes" --cancel-label="No" --text="A package manager is still running. You want to close it?"; then
Maybe he can use pv. sudo apt-get install pv
http://blog.allanglesit.com/2011/08/bash...ess-of-dd/
It would be best if he could make it read stdout from apt-get.
Thanks for a generous donation Wirezfree.