File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -137,20 +137,13 @@ if [ x"$(uname -s)" = xLinux ]; then
137
137
echo done >&2
138
138
fi
139
139
140
- uname_r=" $( uname -r) "
141
- if printf ' %s\n%s\n' 5.12 " $uname_r " | sort -CV; then
142
- FLAGS=FP
143
- else
144
- FLAGS=F
145
- fi
146
-
147
140
echo >&2
148
141
echo registering APE with binfmt_misc >&2
149
142
echo you may need to edit configs to persist across reboot >&2
150
- echo ' $SUDO sh -c "echo ' " '" ' :APE:M::MZqFpD::/usr/bin/ape:' " $FLAGS '" ' >/proc/sys/fs/binfmt_misc/register"' >&2
151
- $SUDO sh -c " echo ':APE:M::MZqFpD::/usr/bin/ape:$FLAGS ' >/proc/sys/fs/binfmt_misc/register" || exit
152
- echo ' $SUDO sh -c "echo ' " '" ' :APE-jart:M::jartsr::/usr/bin/ape:' " $FLAGS '" ' >/proc/sys/fs/binfmt_misc/register"' >&2
153
- $SUDO sh -c " echo ':APE-jart:M::jartsr::/usr/bin/ape:$FLAGS ' >/proc/sys/fs/binfmt_misc/register" || exit
143
+ echo ' $SUDO sh -c "echo ' " '" ' :APE:M::MZqFpD::/usr/bin/ape:' " '" ' >/proc/sys/fs/binfmt_misc/register"' >&2
144
+ $SUDO sh -c " echo ':APE:M::MZqFpD::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || exit
145
+ echo ' $SUDO sh -c "echo ' " '" ' :APE-jart:M::jartsr::/usr/bin/ape:' " '" ' >/proc/sys/fs/binfmt_misc/register"' >&2
146
+ $SUDO sh -c " echo ':APE-jart:M::jartsr::/usr/bin/ape:' >/proc/sys/fs/binfmt_misc/register" || exit
154
147
echo done >&2
155
148
156
149
if [ x" $( cat /proc/sys/fs/binfmt_misc/status) " = xdisabled ]; then
You can’t perform that action at this time.
0 commit comments