1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

iiab-summary: Cleaner when there's no /opt/iiab/iiab-admin-console

This commit is contained in:
root 2022-06-29 12:59:53 -04:00
parent 64b2635bbb
commit b24dba5bba

View file

@ -34,9 +34,13 @@ if [ -f /etc/iiab/pr-list-pulled ]; then
cat /etc/iiab/pr-list-pulled
fi
echo
echo -e "iiab-admin-console: $SHORT_HASH2, $PR_COUNT2 PR's / $COMMITS2 commits since tag $TAG2"
echo -e " \e[1m\"$COMMIT_MSG2\"\e[0m"
echo " $REMOTE_URL2 branch: $BRANCH2"
if [ -d /opt/iiab/iiab-admin-console ]; then
echo -e "iiab-admin-console: $SHORT_HASH2, $PR_COUNT2 PR's / $COMMITS2 commits since tag $TAG2"
echo -e " \e[1m\"$COMMIT_MSG2\"\e[0m"
echo " $REMOTE_URL2 branch: $BRANCH2"
else
echo " WARNING: Directory /opt/iiab/iiab-admin-console does not exist!"
fi
echo
if [ -f /etc/rpi-issue ]; then
cat /etc/rpi-issue