Skip to content

Instantly share code, notes, and snippets.

@v6ak
Created July 26, 2011 12:49
Show Gist options
  • Select an option

  • Save v6ak/1106674 to your computer and use it in GitHub Desktop.

Select an option

Save v6ak/1106674 to your computer and use it in GitHub Desktop.
Notifikace dokončení všech emerge - snad to funguje
#!/bin/bash
# Busy waiting is very dirty, but it is very simple...
while find /var/tmp/portage/ -name '*_lockfile' | grep lockfile; do
sleep 1
done
notify-send -t $((30*60*1000)) "doemergováno"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment