diff options
author | B. Stack <bgstack15@gmail.com> | 2022-12-17 02:01:14 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-12-17 02:01:14 +0000 |
commit | 186e29a3fff4b3b88c5803deee1c907447d3ca2e (patch) | |
tree | 740f9a398dc7d310acc8a0fd246e662fb673842d /scite/prep-for-updating.sh | |
parent | Merge branch 'newmoon-bump' into 'master' (diff) | |
parent | update _service (diff) | |
download | stackrpms-186e29a3fff4b3b88c5803deee1c907447d3ca2e.tar.gz stackrpms-186e29a3fff4b3b88c5803deee1c907447d3ca2e.tar.bz2 stackrpms-186e29a3fff4b3b88c5803deee1c907447d3ca2e.zip |
Merge branch 'scite-bump' into 'master'
Scite 5.3.2
See merge request bgstack15/stackrpms!331
Diffstat (limited to 'scite/prep-for-updating.sh')
-rwxr-xr-x | scite/prep-for-updating.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scite/prep-for-updating.sh b/scite/prep-for-updating.sh new file mode 100755 index 0000000..27d29e2 --- /dev/null +++ b/scite/prep-for-updating.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# Startdate: 2022-12-08-5 09:19 +# Purpose: prepare +# Dependencies: +# rmadison, git, awk, wget, tar +cd ~/dev/scite.salsa || { cd ~/dev ; git clone https://salsa.debian.org/debian/scite.git scite.salsa ; cd ~/dev/scite.salsa ; } ; git pull +# get latest scite source version, without character period +latest="$( rmadison --url debian --suite sid scite | awk -F'|' '{print $2}' | awk -F'-' '{print $1}' | xargs )" +latest_no_period="$( echo "${latest}" | tr -d '.' )" +cd ~/dev ; wget --continue "https://www.scintilla.org/scite${latest_no_period}.tgz" ; ln -s "scite${latest_no_period}.tgz" scite_"${latest}".orig.tar.gz +mkdir -p scite.1 ; cd scite.1 +tar -zxf ~/dev/"scite${latest_no_period}.tgz" ; cp -pr ~/dev/stackrpms/scite/debian . ; |