diff --git a/hide b/hide index 5f8ab2d..7f9d315 100755 --- a/hide +++ b/hide @@ -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"