summaryrefslogtreecommitdiffstats
path: root/yaourt/yaourt.install
diff options
context:
space:
mode:
Diffstat (limited to 'yaourt/yaourt.install')
-rw-r--r--yaourt/yaourt.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/yaourt/yaourt.install b/yaourt/yaourt.install
new file mode 100644
index 0000000..9bd680a
--- /dev/null
+++ b/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
+}