diff options
author | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-02 01:31:32 -0700 |
commit | f7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (patch) | |
tree | e28c5c379825afaf02a927a8f1d1b1fcb94c2362 /community/argyllcms/argyllcms.install | |
parent | 70ec180b1cca6eda5576597c2bfff9171f7815bf (diff) |
Fri Aug 2 01:30:56 PDT 2013
Diffstat (limited to 'community/argyllcms/argyllcms.install')
-rw-r--r-- | community/argyllcms/argyllcms.install | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/argyllcms/argyllcms.install b/community/argyllcms/argyllcms.install new file mode 100644 index 000000000..2f001309b --- /dev/null +++ b/community/argyllcms/argyllcms.install @@ -0,0 +1,39 @@ +post_install() { + cat << EOF + +NOTE for argyllcms: +---- + ==> The documentaion is only available as html! + ==> You will find it in /usr/share/argyllcms/doc + ==> Color charts located in /usr/share/argyllcms/ref + ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed! +EOF + +/usr/sbin/groupadd plugdev &> /dev/null +RETVAL=$? +if [ $RETVAL -eq 0 ] ; then + /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <==" +elif [ $RETVAL -eq 9 ] ; then + /bin/echo "==> Please add your argyllcms user to plugdev group! <==" +else + /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <==" +fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <==" + /bin/true +} + +op=$1 +shift + +$op $* |