[AUR] SWI-Prolog for SHaring: a SWI-Prolog web IDE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
450 B

post_install() {
# Add swish user and group.
getent group swish 1>/dev/null 2>/dev/null || groupadd -r swish >/dev/null
getent passwd swish 1>/dev/null 2>/dev/null || useradd -m -d /home/swish \
-r -g swish swish >/dev/null
chown -R swish:swish /usr/share/swish
printf "\n\n%s\n\n" "You can start and enable \
swish.service to run the server."
printf "\n\n%s\n\n" "You can remove swish user and group."