Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Outdated comment

  • Loading branch information...
commit e183fab0a1d908af8f37937eeab30b4e43191c9c 1 parent b366fcf
@chmduquesne authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cron-pacmatic
View
4 cron-pacmatic
@@ -3,7 +3,7 @@
. /usr/bin/pacmatic --as-lib
if [ $# -eq 0 ]; then
- echo "usage $0 <your@mail.tld>"
+ echo "Usage: $0 <your@mail.tld>"
echo "for this to work, you need to set the mail command correctly"
echo "for example, see https://bbs.archlinux.org/viewtopic.php?id=66822"
exit
@@ -22,7 +22,7 @@ pending_updates() # none : list of packages
pacman -Qqu --dbpath /tmp/localsync/ | egrep -vi '^(Checking|warning|Remove|Total)' | tr '\n' ' '
}
-# Get pending updates, but only dowload them
+# Get pending updates in a safe directory
fakeroot pacman -Syy --dbpath /tmp/localsync/ &> /dev/null
packages=`pending_updates`
Please sign in to comment.
Something went wrong with that request. Please try again.