diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-15 23:46:20 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-20 11:17:49 +0700 |
commit | 2412df271cd1f0aa573e2e136451178e05fec054 (patch) | |
tree | efba5f450d5094aee6b37c7b335fb857a667bcb5 /system/supervisor | |
parent | 7c10671bcda37e3517e165e3b07b5748cefa4d4b (diff) |
system/supervisor: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/supervisor')
-rw-r--r-- | system/supervisor/supervisor.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/system/supervisor/supervisor.SlackBuild b/system/supervisor/supervisor.SlackBuild index 75d08bdd3485c..3769f38f420ce 100644 --- a/system/supervisor/supervisor.SlackBuild +++ b/system/supervisor/supervisor.SlackBuild @@ -38,16 +38,13 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$SRCNAM} +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} set -eu @@ -70,7 +67,7 @@ rm -f setuptools/*.exe mkdir -p $PKG/etc cat $PRGNAM/skel/sample.conf > $PKG/etc/supervisord.conf.new -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION |