Skip to content

Commit dee1323

Browse files
committed
Backport fix from #217
1 parent 8aff261 commit dee1323

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

package/restream/package

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,17 @@ package() {
2626
install -D -m 755 -t "$pkgdir"/opt/bin "$srcdir"/target/armv7-unknown-linux-gnueabihf/release/restream
2727
}
2828

29-
postinstall() {
30-
printf "This app is only the device-side half of reStream. The companion script for consuming the output of this app can be found at https://github.com/rien/reStream\n"
31-
printf "The script may need to be adjusted to target /opt/bin/restream instead of \$HOME/restream, or you can create a symlink on your device with\n"
32-
printf "ln -s /opt/bin/restream \$HOME/restream\n"
29+
configure() {
30+
cat << 'MSG'
31+
32+
This app is only the device-side half of reStream. The companion script for
33+
consuming the output of this app can be found at
34+
<https://github.com/rien/reStream>.
35+
36+
The script may need to be adjusted to target '/opt/bin/restream' instead of
37+
'$HOME/restream', or you can create a symlink on your device with:
38+
39+
ln -s /opt/bin/restream $HOME/restream
40+
41+
MSG
3342
}

0 commit comments

Comments
 (0)