mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-12 18:59:19 +01:00
fix: messages
This commit is contained in:
parent
dbb4d4ef90
commit
9b7462b45f
3 changed files with 4 additions and 4 deletions
2
group
2
group
|
@ -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
2
owner
|
@ -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
4
pic
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue