When you run Install Updates command it opens the terminal, runs the update script and then closes the terminal:
![[Image: 7OnrCh0.png]](http://i.imgur.com/7OnrCh0.png)
How to prevent the terminal from closing? I have modified the command and it seems to be working ok but I would appreciate confirmation that my code is ok:
Original command:
Modified command (the terminal remains open):
In addition I commented out the last line in the "updates" script itself, I'm not sure if it's really necessary:
![[Image: cAwcP95.png]](http://i.imgur.com/cAwcP95.png)
![[Image: 7OnrCh0.png]](http://i.imgur.com/7OnrCh0.png)
How to prevent the terminal from closing? I have modified the command and it seems to be working ok but I would appreciate confirmation that my code is ok:
Original command:
Code:
x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e /usr/scripts/updates
Modified command (the terminal remains open):
Code:
x-terminal-emulator --geometry=95x25 -t "Linux Lite Updates" -e "bash -c /usr/scripts/updates;bash"
In addition I commented out the last line in the "updates" script itself, I'm not sure if it's really necessary:
![[Image: cAwcP95.png]](http://i.imgur.com/cAwcP95.png)
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro