put shebang in scripts
[termux-packages] / packages / mlocate / build.sh
index e98d8e0..13b6001 100644 (file)
@@ -10,7 +10,8 @@ termux_step_pre_configure() {
 }
 
 termux_step_create_debscripts () {
-        echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" > postinst
+       echo "#!$TERMUX_PREFIX/bin/sh" > postinst
+       echo "mkdir -p $TERMUX_PREFIX/var/mlocate/" >> postinst
         echo "exit 0" >> postinst
         chmod 0755 postinst
 }