Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Ismael Luceno (878079e1d3d4c982e220a5d7284eec2f6519b47c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (878079e1d3d4c982e220a5d7284eec2f6519b47c)
  • Date: Sat, 5 Jun 2021 12:49:34 +0000

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

usr/sbin/scribe | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 878079e1d3d4c982e220a5d7284eec2f6519b47c
Author: Pavel Vinogradov <vin.public AT gmail.com>
Commit: Ismael Luceno <ismael AT sourcemage.org>

scribe: don't download/clone all over again when updating

diff --git a/usr/sbin/scribe b/usr/sbin/scribe
index 3aa58a5..f0197ed 100755
--- a/usr/sbin/scribe
+++ b/usr/sbin/scribe
@@ -281,7 +281,11 @@ scribe_add_update_worker() {

# download it
local scribe_target scribe_type
- url_download "$grim_target" "$from" "" scribe_target scribe_type
+ if [[ $add_or_update == update ]]; then
+ url_download "$grim_name" "$from" "" scribe_target scribe_type
+ else
+ url_download "$grim_target" "$from" "" scribe_target scribe_type
+ fi

#check the success of the download
if [ $? != 0 ]; then



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (878079e1d3d4c982e220a5d7284eec2f6519b47c), Ismael Luceno, 06/05/2021

Archive powered by MHonArc 2.6.24.

Top of Page