sbopkg: Remove SVN stuff.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-10-25 17:18:52 +07:00
parent 7cce44a8d0
commit 261263cff9

View File

@ -4069,17 +4069,12 @@ check_for_latest() {
Please try again later." Please try again later."
fi fi
elif [[ $CVRS != $NVRS ]]; then elif [[ $CVRS != $NVRS ]]; then
if grep -q svn_r <<< $CVRS; then SBOPKGUP=1
MSG="You are running sbopkg from SVN and not using a regular \ if [[ $DIAG ]]; then
package. Therefore, package versions cannot be compared." MSG="Different versions reported. Press <OK> to continue."
else else
SBOPKGUP=1 MSG="Different versions reported. (D)ownload the remote \
if [[ $DIAG ]]; then package or (Q)uit?: "
MSG="Different versions reported. Press <OK> to continue."
else
MSG="Different versions reported. (D)ownload the remote \
package or (Q)uit?: "
fi
fi fi
else else
MSG="It appears your version of sbopkg is up to date." MSG="It appears your version of sbopkg is up to date."
@ -4478,7 +4473,6 @@ trap 'cleanup' EXIT
# The second group should be reduced/removed. For now, they are simply listed # The second group should be reduced/removed. For now, they are simply listed
# here in a group, instead of being commented one by one. # here in a group, instead of being commented one by one.
unset SCRIPT # The script name (usually "sbopkg") unset SCRIPT # The script name (usually "sbopkg")
unset REV # Revision number
unset SBOVER # The sbopkg version unset SBOVER # The sbopkg version
unset CWD # sbopkg starting directory unset CWD # sbopkg starting directory
unset DIAG # When set, run in dialog mode (instead of CLI mode) unset DIAG # When set, run in dialog mode (instead of CLI mode)
@ -4517,8 +4511,7 @@ SBOPKG_REPOS_D=${SBOPKG_REPOS_D:-/etc/sbopkg/repos.d}
EDITOR=${EDITOR:-vi} EDITOR=${EDITOR:-vi}
PAGER=${PAGER:-more} PAGER=${PAGER:-more}
CWD=$(pwd) CWD=$(pwd)
REV="$Revision$" SBOVER=0.37.0
SBOVER=svn_r$(cut -d' ' -f2 <<< "$REV")
DIAG=1 DIAG=1
ON_ERROR=ask ON_ERROR=ask
REPOS_FIELDS=7 REPOS_FIELDS=7