diff options
author | frnmst/Franco Masotti | 2016-10-25 17:11:48 +0200 |
---|---|---|
committer | frnmst/Franco Masotti | 2016-10-25 17:11:48 +0200 |
commit | eb0a4126d3f407079a2d2d15725b99f053a6e8c1 (patch) | |
tree | 08b38149a3c32485510e62a2b53590e876e81135 | |
parent | 3ea834723db30a2bbd1d3706b2434a69b3cb19a5 (diff) | |
download | aur-eb0a4126d3f407079a2d2d15725b99f053a6e8c1.tar.gz |
Fixed problem when saving files.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .install | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | run.sh | 5 |
4 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = swish pkgdesc = SWI-Prolog for SHaring: a SWI-Prolog web IDE pkgver = r1124.071295b - pkgrel = 1 + pkgrel = 2 url = https://github.com/SWI-Prolog/swish install = .install arch = x86_64 @@ -10,3 +10,7 @@ post_install() { swish.service to run the server.\n\n" } +post_remove() +{ + printf "\n\nYou can remove swish user and group.\n\n" +} @@ -2,7 +2,7 @@ # Contributor: Franco Masotti <franco dot masotti at student dot unife dot it> pkgname=swish pkgver=r1124.071295b -pkgrel=1 +pkgrel=2 pkgdesc="SWI-Prolog for SHaring: a SWI-Prolog web IDE" arch=('x86_64') url="https://github.com/SWI-Prolog/swish" @@ -65,7 +65,10 @@ startd() local pid="" { - ( exec swipl --quiet -f "$pkg_dir"/run.pl ) & + ( + cd "$pkg_dir" + exec swipl --quiet -f "$pkg_dir"/run.pl + ) & pid="$!" } 1>/dev/null 2>/dev/null |