sqg: Update documentation

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-03-21 20:26:08 +07:00
parent 91d779d5e6
commit c8a0ff695a
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ SQG_TMP_DIR=${SQG_TMP_DIR:-/tmp/sqg}
# #
# Sanity checks: # Sanity checks:
# - sbopkg.conf is available # - .sbopkg.conf or sbopkg.conf is available
# - slackbuilds.org was synced with `rsync` or `git` # - slackbuilds.org was synced with `rsync` or `git`
# - directory checks # - directory checks
# #
@ -25,12 +25,14 @@ sanity_checks () {
. $SBOPKG_CONF . $SBOPKG_CONF
fi fi
# check whether we are using git or rsync
if [ -d $REPO_ROOT/$REPO_NAME/.git ]; then if [ -d $REPO_ROOT/$REPO_NAME/.git ]; then
REPO_SUBPATH=$REPO_NAME REPO_SUBPATH=$REPO_NAME
else else
REPO_SUBPATH=$REPO_NAME/$REPO_BRANCH REPO_SUBPATH=$REPO_NAME/$REPO_BRANCH
fi fi
# check whether the directory exist or not
REPO_DIR=$REPO_ROOT/$REPO_SUBPATH REPO_DIR=$REPO_ROOT/$REPO_SUBPATH
if [ ! -w "$QUEUEDIR" ] || [ ! -d "$REPO_DIR" ]; then if [ ! -w "$QUEUEDIR" ] || [ ! -d "$REPO_DIR" ]; then
echo "ERROR: $QUEUEDIR or $REPO_DIR do not exist or are not writable." echo "ERROR: $QUEUEDIR or $REPO_DIR do not exist or are not writable."

View File

@ -1,6 +1,6 @@
SBOPKG NEWS SBOPKG NEWS
sbopkg-dev (2020-01-16 05:55:44 UTC) sbopkg-dev (2020-03-21 13:25:48 UTC)
FEATURES FEATURES
* sqg: Parallelize building of single and all packages by option -j. * sqg: Parallelize building of single and all packages by option -j.
Patch by Marcel Saegebarth. Patch by Marcel Saegebarth.
@ -57,6 +57,7 @@ sbopkg-dev (2020-01-16 05:55:44 UTC)
* Handle upper case value for MD5SUMS * Handle upper case value for MD5SUMS
* Better handling at git repository during bad network connection. * Better handling at git repository during bad network connection.
Patch by Urchlay Patch by Urchlay
* sqg: Use /root/.sbopkg.conf if it exists.
sbopkg 0.38.1 (2016-09-01 13:42 UTC) sbopkg 0.38.1 (2016-09-01 13:42 UTC)
FEATURES FEATURES