summaryrefslogtreecommitdiffstats
path: root/yaourt/yaourt.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-05-24 22:02:28 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-05-24 22:03:10 +0200
commit76b5704f46d3e59e41ed5883d23dd0d4aa818f4c (patch)
treea5adf840adb3093276c1fcf6b27135cecd935462 /yaourt/yaourt.install
parentb37bf77aa7e3354edc3831f7c9038d77da00fec2 (diff)
downloadaur-packages-76b5704f46d3e59e41ed5883d23dd0d4aa818f4c.tar.gz
aur-packages-76b5704f46d3e59e41ed5883d23dd0d4aa818f4c.tar.xz
updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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
+}