fix: messages

This commit is contained in:
əlemi 2024-02-08 20:20:04 +01:00
parent dbb4d4ef90
commit 9b7462b45f
Signed by: alemi
GPG key ID: A4895B84D311642C
3 changed files with 4 additions and 4 deletions

2
group
View file

@ -25,6 +25,6 @@ if [ $# -eq 1 ]; then
echo "[ ] unset category from $REPONAME" echo "[ ] unset category from $REPONAME"
else else
git config -f "/srv/git/$REPOSITORY/config" gitweb.category "$2" git config -f "/srv/git/$REPOSITORY/config" gitweb.category "$2"
echo "[,] set '$2' as $REPONAME category" echo "[@] set '$2' as $REPONAME category"
fi fi

2
owner
View file

@ -25,6 +25,6 @@ if [ $# -eq 1 ]; then
echo "[ ] unset owner from $REPONAME" echo "[ ] unset owner from $REPONAME"
else else
git config -f "/srv/git/$REPOSITORY/config" gitweb.owner "$2" git config -f "/srv/git/$REPOSITORY/config" gitweb.owner "$2"
echo "['] set '$2' as $REPONAME owner" echo "[@] set '$2' as $REPONAME owner"
fi fi

4
pic
View file

@ -22,9 +22,9 @@ fi
if [ $# -eq 1 ]; then if [ $# -eq 1 ]; then
git config -f "/srv/git/$REPOSITORY/config" --unset cgit.logo git config -f "/srv/git/$REPOSITORY/config" --unset cgit.logo
echo "[ ] unset homepage from $REPONAME" echo "[ ] unset picture from $REPONAME"
else else
git config -f "/srv/git/$REPOSITORY/config" cgit.logo "$2" git config -f "/srv/git/$REPOSITORY/config" cgit.logo "$2"
echo "[@] set '$2' as $REPONAME homepage" echo "[@] set '$2' as $REPONAME picture"
fi fi