[med-svn] [Git][med-team/community/helper-scripts][master] 2 commits: Create backup of output file
Andreas Tille
gitlab at salsa.debian.org
Sun Mar 10 11:01:54 GMT 2019
Andreas Tille pushed to branch master at Debian Med / community / helper-scripts
Commits:
23e64672 by Andreas Tille at 2019-03-10T10:59:05Z
Create backup of output file
- - - - -
674934d0 by Andreas Tille at 2019-03-10T11:01:34Z
Explain how to create a .ssh/salsarc file
- - - - -
2 changed files:
- inject-into-salsa-git
- seek_outdated_med-packages
Changes:
=====================================
inject-into-salsa-git
=====================================
@@ -8,6 +8,9 @@ SALSARC=~/.ssh/salsarc
if [ ! -f $SALSARC ] ; then
echo "Missing ${SALSARC}"
+ echo "Just create one containing"
+ echo 'SALSA_URL="https://salsa.debian.org/api/v4"'
+ echo 'SALSA_TOKEN="YOUR_SALSA_TOKEN"'
exit 1
fi
=====================================
seek_outdated_med-packages
=====================================
@@ -2,6 +2,10 @@
OUTFILE=outdated_med-packages.txt
+if [ -e ${OUTFILE} ] ; then
+ mv ${OUTFILE} ${OUTFILE}~
+fi
+
export LC_ALL=C.UTF-8
echo "Last-Update: `date -R`" > $OUTFILE
View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/compare/4d9af54c5bd9de1bbd1fd11cc49cdad292dcc536...674934d0aadc37b4c3d31b56f786acfa3a8d28e1
--
View it on GitLab: https://salsa.debian.org/med-team/community/helper-scripts/compare/4d9af54c5bd9de1bbd1fd11cc49cdad292dcc536...674934d0aadc37b4c3d31b56f786acfa3a8d28e1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190310/cd0425ec/attachment.html>
More information about the debian-med-commit
mailing list