fix: removed outdated check

This commit is contained in:
əlemi 2024-03-12 23:04:23 +01:00
parent 2920a0604a
commit ec81943810
Signed by: alemi
GPG key ID: A4895B84D311642C

5
hide
View file

@ -15,11 +15,6 @@ if [[ "$REPONAME" == *.git ]]; then
REPONAME=$(echo "$REPONAME" | sed 's/\.git$//')
fi
if [ ! -d "/srv/git/.public/$REPONAME" ]; then
echo "[!] repository isn't public"
exit
fi
git config -f "/srv/git/$REPOSITORY/config" cgit.ignore 1
echo "[#] made $REPONAME hidden"