summaryrefslogtreecommitdiffstats
path: root/pacman-color/pacman-color.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-08-06 00:03:54 +0200
committerFlorian Pritz <bluewind@xssn.at>2009-08-06 00:03:54 +0200
commitca8193d2ed3ccfb1b2bcb208a390eb4c4481a3a9 (patch)
tree6b6d0d91b0aa6817a5eb1bb06f7d9ea9a40e604d /pacman-color/pacman-color.install
parent65bf224cb276c6a1afb8c123fc81d316c57478fb (diff)
downloadaur-packages-ca8193d2ed3ccfb1b2bcb208a390eb4c4481a3a9.tar.gz
aur-packages-ca8193d2ed3ccfb1b2bcb208a390eb4c4481a3a9.tar.xz
add pacman-color
Diffstat (limited to 'pacman-color/pacman-color.install')
-rw-r--r--pacman-color/pacman-color.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/pacman-color/pacman-color.install b/pacman-color/pacman-color.install
new file mode 100644
index 0000000..e8fb3de
--- /dev/null
+++ b/pacman-color/pacman-color.install
@@ -0,0 +1,24 @@
+# arg 1: the new package version
+post_install() {
+ post_upgrade
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+cat <<-EOM
+ you can change colors in '/etc/pacman.d/color.conf'
+
+ homepage: http://vogo.unas.cz/pacman-color.html
+EOM
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+op=$1
+shift
+
+$op $* \ No newline at end of file