From 28dd40561f1376f3b21ca35a75d072950327db6d Mon Sep 17 00:00:00 2001 From: bsourisse Date: Sun, 27 Aug 2023 13:28:15 +0200 Subject: [PATCH] fix: remove useless sudo --- helpers/shells/updateRepo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/shells/updateRepo.sh b/helpers/shells/updateRepo.sh index 184e3a1..9484dbe 100644 --- a/helpers/shells/updateRepo.sh +++ b/helpers/shells/updateRepo.sh @@ -69,4 +69,4 @@ if [ "$found" = true ]; then fi # Modify authorized_keys for the repositoryName: update the line with the quota and the SSH pub key -sudo sed -ri "s|(command=\".*${repositoryName}.*--storage-quota ).*G\",restrict .*|\\1$3G\",restrict $2|g" "$home/.ssh/authorized_keys" \ No newline at end of file +sed -ri "s|(command=\".*${repositoryName}.*--storage-quota ).*G\",restrict .*|\\1$3G\",restrict $2|g" "$home/.ssh/authorized_keys" \ No newline at end of file