From 87f1b6523424d12e12e78dbf31f98ad5e332a9b0 Mon Sep 17 00:00:00 2001 From: RedProkofiev Date: Wed, 17 Jan 2024 10:38:55 +0000 Subject: [PATCH] Adding help messages and documentation --- scripts/3.4.5-3.tar.gz | 0 scripts/ssm-build-dual.sh | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 scripts/3.4.5-3.tar.gz diff --git a/scripts/3.4.5-3.tar.gz b/scripts/3.4.5-3.tar.gz deleted file mode 100644 index e69de29b..00000000 diff --git a/scripts/ssm-build-dual.sh b/scripts/ssm-build-dual.sh index 4048cde7..b39baa51 100755 --- a/scripts/ssm-build-dual.sh +++ b/scripts/ssm-build-dual.sh @@ -5,11 +5,17 @@ # @Author: Nicholas Whyatt (RedProkofiev@github.com) # Script runs well with FPM 1.14.2 on ruby 2.7.1, setuptools 51.3.3 on RHEL and Deb platforms +# Download ruby (if you're locked to 2.5, use RVM) and then run: +# sudo gem install fpm -v 1.14.2 +# ./ssm-build-dual.sh (deb | rpm) e.g. +# ./ssm-build.dual.sh deb 3.4.0 1 /usr/lib/python3.6 +# For SSM 3.4.0 and up. Versions before that would technically work, but the changelog +# then was in a Debian format that doesn't parse and fails hard if you want to build RPM. set -e usage() { - echo "Usage: $0 (deb | rpm) [options]" + echo "[options] Usage: $0 (deb | rpm) " echo -e "Build script for Apel-SSM.\n" echo " -h Displays help." echo " -v Verbose FPM output."