We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc03a59 commit 028ab7cCopy full SHA for 028ab7c
utils/srload
@@ -14,10 +14,8 @@ source "$1"
14
# optional env variable override
15
if [ -n "$SYSREPOCTL_EXECUTABLE" ]; then
16
SYSREPOCTL="$SYSREPOCTL_EXECUTABLE"
17
-elif [ "$(id -u)" -eq 0 ] && [ -n "$USER" ] && [ -n "$(command -v su)" ]; then
18
- SYSREPOCTL=$(command sysrepoctl -l "$USER")
19
else
20
- SYSREPOCTL=$(command sysrepoctl)
+ SYSREPOCTL=sysrepoctl
21
fi
22
23
PERMS="660"
@@ -91,7 +89,6 @@ enable()
91
89
92
90
}
93
94
-
95
# Skip first 5 lines of header and last 3 lines of footer
96
SCTL_MODULES=$($SYSREPOCTL -l |tail -n +5 |head -n -3)
97
0 commit comments