Skip to content

Commit 6142331

Browse files
authored
Merge pull request #4 from RubenKelevra/patch-3
easier to read messages of this script
2 parents b546157 + ecb69b7 commit 6142331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipfs-websites/pin-websites.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ for s in $websites; do
4242
oldcid=`grep "| $s |" pinset.txt | cut -d ' ' -f 1`
4343
newcid=$(basename `ipfs resolve -r "/ipns/$s"`) # remove /ipfs prefix
4444
if [[ "$oldcid" == "$newcid" ]]; then
45-
echo "$s already pinned in latest version"
45+
echo "already pinned in latest version: $s"
4646
continue
4747
fi
48-
echo "pinning $s"
48+
echo "pinning: $s"
4949
ipfs-cluster-ctl $@ pin add --no-status --name "$s" "$newcid"
5050
if [[ -n "$oldcid" && ("$newcid" != "$oldcid") ]]; then
5151
echo "unpinning old version: $oldcid"

0 commit comments

Comments
 (0)