fix: "run as root" check (#37622)
Remove the hacky and fragile `sed os.Getuid()` patch.
This commit is contained in:
@@ -73,7 +73,6 @@ parts:
|
||||
|
||||
override-build: |
|
||||
set -x
|
||||
sed -i 's/os.Getuid()/1/g' modules/setting/setting.go
|
||||
npm install -g pnpm
|
||||
TAGS="bindata pam cert" make build
|
||||
install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea"
|
||||
|
||||
Reference in New Issue
Block a user