aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/update_versions.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/update_versions.sh b/tools/update_versions.sh
index 5cabde7..8c7f49f 100755
--- a/tools/update_versions.sh
+++ b/tools/update_versions.sh
@@ -39,7 +39,8 @@ update_perl="
SBO-Lib/lib/SBO/Lib/Download.pm
SBO-Lib/lib/SBO/Lib/Build.pm
"
-update_slackbuild="
+update_other="
+ SBO-Lib/README
slackbuild/sbotools/sbotools.SlackBuild
slackbuild/sbotools/sbotools.info
"
@@ -48,7 +49,7 @@ old_version=$(grep '^our $VERSION' SBO-Lib/lib/SBO/Lib.pm | grep -Eo '[0-9]+(\.[
tmpfile=$(mktemp /tmp/XXXXXXXXXX)
-for i in $update_slackbuild; do
+for i in $update_other; do
cat $i | sed "s/$old_version/$version/g" > $tmpfile
if [[ "$?" == "0" ]]; then
mv $tmpfile $i