logo

utils

Old programs, got split in utils-std and utils-extra git clone https://hacktivis.me/git/utils.git

post-update.stagit (425B)


  1. #!/bin/sh
  2. # SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. # SPDX-License-Identifier: MPL-2.0
  4. base=$(pwd|sed 's|\.git$||')
  5. update_f=' * Updating %s…'
  6. is_ok(){ echo ' [OK]'; }
  7. printf "$update_f" stagit
  8. mkdir -p ${base} && cd "${base}" && stagit -l 2048 "${base}.git" && is_ok
  9. printf "$update_f" stagit-index
  10. cd /git && stagit-index *.git mirror/*.git > /git/index.html && is_ok