diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 23:00:59 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-07 23:00:59 -0300 |
commit | 87bd9124ec1abd5c6171af47af93805b975343b6 (patch) | |
tree | f9732aabf9c46c6391409187f8ddf8cc5b005006 /community-staging/leafnode/leafnode.install | |
parent | 96c65d8a0393645808ab5ea31776baa26209fc5f (diff) | |
parent | 0dee03071a0643c3ee5820afa3c694dcef71d385 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/beye/PKGBUILD
community/xmlrpc-c/PKGBUILD
extra/avidemux/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/gtk2/PKGBUILD
extra/libvpx/PKGBUILD
extra/libxfce4menu/PKGBUILD
extra/libxml2/PKGBUILD
extra/pixman/PKGBUILD
extra/thunar-archive-plugin/PKGBUILD
extra/thunar-volman/PKGBUILD
extra/vdpau-video/PKGBUILD
extra/xfce4-appfinder/PKGBUILD
extra/xfce4-battery-plugin/PKGBUILD
extra/xfce4-cpufreq-plugin/PKGBUILD
extra/xfce4-cpugraph-plugin/PKGBUILD
extra/xfce4-dict/PKGBUILD
extra/xfce4-diskperf-plugin/PKGBUILD
extra/xfce4-eyes-plugin/PKGBUILD
extra/xfce4-fsguard-plugin/PKGBUILD
extra/xfce4-mixer/PKGBUILD
extra/xfce4-mount-plugin/PKGBUILD
extra/xfce4-mpc-plugin/PKGBUILD
extra/xfce4-power-manager/PKGBUILD
extra/xfce4-systemload-plugin/PKGBUILD
extra/xfce4-taskmanager/PKGBUILD
extra/xfce4-time-out-plugin/PKGBUILD
extra/xfce4-timer-plugin/PKGBUILD
extra/xfce4-wavelan-plugin/PKGBUILD
extra/xorg-luit/PKGBUILD
extra/xorg-xfontsel/PKGBUILD
extra/xulrunner/PKGBUILD
kde-unstable/calligra/PKGBUILD
libre/mplayer-vaapi-libre/PKGBUILD
testing/systemd/PKGBUILD
Diffstat (limited to 'community-staging/leafnode/leafnode.install')
-rw-r--r-- | community-staging/leafnode/leafnode.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community-staging/leafnode/leafnode.install b/community-staging/leafnode/leafnode.install new file mode 100644 index 000000000..5f8a74c04 --- /dev/null +++ b/community-staging/leafnode/leafnode.install @@ -0,0 +1,14 @@ +post_install() { + echo "-- Adding user 'news' and group 'news', chowning /var/spool/news" + grep -e "^news:" /etc/group 2>&- >&- || groupadd -g 13 -r news 2>&- >&- + grep -e "^news:" /etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- + chown -R root:news etc/leafnode + # create dir if necessary + if [ ! -d var/spool/news ]; then + install -d -m 770 -o news -g news var/spool/news + fi +} + +post_remove() { + echo "-- Don't forget to remove /var/spool/news directory" +} |