Skip to content

Commit

Permalink
Improve already registered reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolphpienaar committed Feb 18, 2022
1 parent 59529ba commit 94fbdfe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugin_add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ title -d 1 "Uploading plugin representations to the ChRIS store..."
b_NR=$(cat dc.out | grep -c "not running")
b_exist=$(cat dc.out | grep -c "already exists")
if (( b_exist )) ; then
cat dc.out |\
grep 'already' |\
awk -F "string=" '{print $2}' |\
awk -F ', code' '{print $1}' > dc.out
RIGHT2="already"
((b_already++))
fi
Expand Down Expand Up @@ -485,7 +489,7 @@ title -d 1 "Automatically registering some plugins from the ChRIS store" \
# Copy dc.out from the chris_store container to local FS
docker cp $(docker ps | grep $CHRIS | head -n 1 |\
awk '{print $1}'):/tmp/dc.out ./

RIGHT1="--> --> --> ->"
status_check $status
windowBottom
((b_statusSuccess--))
Expand Down

0 comments on commit 94fbdfe

Please sign in to comment.