Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- settings="$HOME/Launchers"/.tconk-settings-general
- # load variables from files
- . $settings
- if [ -f "/usr/bin/aptitude" -o -f "/usr/bin/aptitude-curses" ]; then
- Updates=$(aptitude search "~U" | wc -l | tail)
- elif [ -f "/usr/bin/pacman" ]; then
- Updates=$(cat /tmp/updateCount)
- else
- Updates=""
- fi
- echo $Updates > $tmpfolder/time-updates
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement