This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# copy this file to /usr/local/sbin (or any other $PATH location) | |
# add to daily.cron | |
# ensure exits | |
VAR_FILE="/var/lib/pacicron/sha" | |
MAIL_TO="root" | |
HOST=$(uname -n) | |
PKGMGR=$(which yaourt || which pacman) | |
AURFLAG=$(which yaourt &> /dev/null && echo -en "a") |