Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/lib/update-notifier/apt-check |& cut -d";" -f 1
- #!/bin/bash
- if [ $(/usr/lib/update-notifier/apt-check |& cut -d";" -f 1) -gt 0 ]; then
- # Some commands
- sudo apt-get -y dist-upgrade
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement