12-15-2016, 05:10 AM
Relevant :)
Download your free copy of Linux Lite today.
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
(12-14-2016, 07:24 PM)ralphy link Wrote: I noticed that we didn't have a check to kill package managers in lite-tweaks-super. I have committed the check to master: https://github.com/linuxlite/litetweaks/...dfa48818e2
But in the same process, while double checking code, I noticed that we have package managers kill switch in liteupdatesnotify:
https://github.com/linuxlite/liteupdates...datenotify
Code:...
# Kill off any package managers that may be running
if [ "$(pidof synaptic)" ]
then
killall -9 synaptic
fi
if [ ! -z "$(pgrep gdebi-gtk)" ]
then
killall -9 gdebi-gtk
fi
...
There is no interference between what we are executing in liteupdatesnotify and a lock from package managers that may cause the script to error out. Do we really need the kill switch there?
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
(12-15-2016, 08:40 AM)Jerry link Wrote: Ran some more tests, seems this is not needed. Feel free to delete that code in your next push.
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)