Skip to content

Commit fef546a

Browse files
committed
rebuild-todo: Remove deprecated 'bump_pkgrel' function
Irrelevant / useless since we now use 'pkgctl --rebuild'
1 parent 435e2bd commit fef546a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

package/rebuild-todo

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ set -eou pipefail
66

77
PROGNAME="${BASH_SOURCE[0]##*/}"
88

9-
bump_pkgrel() {
10-
oldrel=$(grep 'pkgrel=' < <(svn cat PKGBUILD) | cut -d= -f2)
11-
rel=${oldrel%%.*}
12-
newrel=$((rel + 1))
13-
sed -i "s/pkgrel=$oldrel/pkgrel=$newrel/" PKGBUILD
14-
}
15-
169
usage() {
1710
cat <<- _EOF_
1811
Usage: ${PROGNAME} [OPTIONS] URL

0 commit comments

Comments
 (0)