diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ install: build install -m 0755 -d dest/usr/sbin/ ln -sf /usr/bin/opkg-cert dest/usr/sbin/opkg-key @# opkg-lede's CMake build system doesn't install this... - sed 's|@opkglibdir@|/var/lib|g' src/utils/update-alternatives.in \ + sed '1s|^.*$$|#!/var/lib/opkg/bin/sh|; s|@opkglibdir@|/var/lib|g' \ + src/utils/update-alternatives.in \ >dest/usr/bin/update-alternatives oh-fixperms oh-strip -k |