From a40d71e4fff81cafac452c83dcf7a90752c5f8f7 Mon Sep 17 00:00:00 2001 From: Lightmann Date: Fri, 6 Jan 2023 19:56:04 -0500 Subject: [PATCH] Remove a script deprecated more than a decade ago in 362fafc --- bin/deb_build_num.sh | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100755 bin/deb_build_num.sh diff --git a/bin/deb_build_num.sh b/bin/deb_build_num.sh deleted file mode 100755 index 44474644de..0000000000 --- a/bin/deb_build_num.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -GETONLY=0 -if [[ $1 == "-g" ]]; then - GETONLY=1 - shift -fi - -if [[ $# -lt 2 ]]; then - echo "Syntax: $0 [-g] packagename versionname" >&2 - exit 1 -fi - -if [[ ! -d $TOP_DIR/.debmake ]]; then - mkdir $TOP_DIR/.debmake -fi - -PACKAGE=$1 -VERSION=$2 -INFOFILE=$TOP_DIR/.debmake/$PACKAGE-$VERSION -if [[ ! -e $INFOFILE ]]; then - echo -n 1 > $INFOFILE - echo -n 1 - exit 0 -else - CURNUM=$(cat $INFOFILE) - if [[ $GETONLY -eq 0 ]]; then - let CURNUM++ - echo -n $CURNUM > $INFOFILE - fi - echo $CURNUM -fi