On Thu, Apr 08, 2010 at 11:48:37AM +0200, Adrien Ramos <[email protected]> wrote: > +sha1sums=('fc11c01d5f871295981ec1aa0e8c6d25e7dbf355' \ > + 'e161e7652cff06e632e75777da389d590e9ee2b8' \ > + 'd5b5b5dfd4b67edf855e27d6b7881449f13632fa') > + > +install=$pkgname.install
This line is not necessary, right?
> +++ b/source/network-extra/prosody/prosody.install
> @@ -0,0 +1,43 @@
> +post_install()
> +{
> + if ! grep -q 'prosody' /etc/group; then
> + #create group
> + /usr/sbin/groupadd -g 54 prosody 2>/dev/null
> + fi
> +
> + if ! grep -q 'prosody' /etc/shadow; then
> + #create user
> + /usr/sbin/useradd -s /bin/false -c "daemon system user prosody"
> -d /var/lib/prosody -u 54 -g prosody prosody 2>/dev/null
> + fi
> +
> + # Fix permissions
> + chown -R prosody:prosody /var/lib/prosody
> + chmod -R 770 /var/lib/prosody
> + rm -f /var/run/prosody.pid
> +
> + echo "==> Don't forget to change /etc/prosody.cfg.lua when needed"
> + echo " -> For more informations about prosody's configurtion, please
> take a look at :"
> + echo " -> http://prosody.im/doc"
> + echo
> + echo "==> If you want to add or delete JIDs you have to be in the
> 'prosody' group"
> + echo " -> You can do it with this command : 'usermod -aG prosody
> LOGIN_NAME'"
> + echo
> + echo "==> To start the daemon, type 'service prosody start'"
> + echo " -> To automaticly start the daemon at boot time, type
> 'service prosody add'"
> + echo " -> Please do NOT use prosodyctl start and stop"
Could you please add a README.Frugalware file instead of just echoing
here?
That allows users to read the documentation not just right after
installing the package.
The rest looks fine.
pgpYcgDeLPScH.pgp
Description: PGP signature
_______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
