Skip to content
Snippets Groups Projects
Commit 5d7d77b7 authored by Bob Mottram's avatar Bob Mottram
Browse files

Run scripts with bash to include environment

parent 16885299
No related branches found
No related tags found
No related merge requests found
...@@ -613,10 +613,10 @@ git pull ...@@ -613,10 +613,10 @@ git pull
EOF EOF
chmod +x "$rootdir/usr/bin/upgrade_searx" chmod +x "$rootdir/usr/bin/upgrade_searx"
if [ "$rootdir" ]; then if [ "$rootdir" ]; then
chroot "$rootdir" /usr/bin/upgrade_searx chroot "$rootdir" /bin/bash /usr/bin/upgrade_searx
chroot "$rootdir" rm /usr/bin/upgrade_searx chroot "$rootdir" rm /usr/bin/upgrade_searx
else else
/usr/bin/upgrade_searx /bin/bash /usr/bin/upgrade_searx
rm /usr/bin/upgrade_searx rm /usr/bin/upgrade_searx
fi fi
...@@ -735,10 +735,10 @@ EOF ...@@ -735,10 +735,10 @@ EOF
fi fi
chmod +x "$rootdir/usr/bin/install_searx" chmod +x "$rootdir/usr/bin/install_searx"
if [ "$rootdir" ]; then if [ "$rootdir" ]; then
chroot "$rootdir" /usr/bin/install_searx chroot "$rootdir" /bin/bash /usr/bin/install_searx
chroot "$rootdir" rm /usr/bin/install_searx chroot "$rootdir" rm /usr/bin/install_searx
else else
/usr/bin/install_searx /bin/bash /usr/bin/install_searx
rm /usr/bin/install_searx rm /usr/bin/install_searx
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment