From ad0e4eac81b2ae09459a37367a3afc756b1b7571 Mon Sep 17 00:00:00 2001 From: Mike Staszel Date: Tue, 16 Feb 2010 00:09:04 -0600 Subject: [PATCH] Added yaourt.install --- core/yaourt/yaourt.install | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/yaourt/yaourt.install diff --git a/core/yaourt/yaourt.install b/core/yaourt/yaourt.install new file mode 100644 index 000000000..9bd680a80 --- /dev/null +++ b/core/yaourt/yaourt.install @@ -0,0 +1,14 @@ +post_install() { + cat <<-EndOfMessage + ==> to use yaourt as user,add these entries to /etc/sudoers: + user ALL=NOPASSWD: /usr/bin/pacman + user ALL=NOPASSWD: /usr/bin/pacdiffviewer + (Please, use sudo very carefully) + ==> for a full colorized output, install pacman-color and set PacmanBin in /etc/yaourtrc + EndOfMessage + /bin/true +} + +post_upgrade() { + post_install +}