From 6decb18e3e5a155fd9e0da72b2c43cae5e08daf9 Mon Sep 17 00:00:00 2001 From: nagumii Date: Tue, 7 Jan 2025 19:19:55 +0200 Subject: [PATCH] +x to femto-software.sh --- .../out/rootfs_uclibc_rv1106/usr/local/bin/femto-software.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-software.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-software.sh index 2c89baf..f1f43ec 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-software.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-software.sh @@ -71,6 +71,8 @@ tc2_bbs() { # Install TC²BBS dialog --title "$software" --msgbox "\nCloning of TC²-BBS git repo failed.\nCheck internet connectivity." 10 60 return fi + chown -R femto /opt/TC2-BBS-mesh + git config --global --add safe.directory /opt/TC2-BBS-mesh # prevents git error when updating else return fi @@ -84,8 +86,6 @@ tc2_bbs() { # Install TC²BBS fi if [ ! -f /opt/TC2-BBS-mesh/config.ini ]; then # if the config file doesn't exist but the clone was successful, then we need to do some configuring and rejiggering cd /opt/TC2-BBS-mesh - chown -R femto /opt/TC2-BBS-mesh - git config --global --add safe.directory /opt/TC2-BBS-mesh # prevents git error when updating echo "Creating virtual environment. This can take a couple minutes." python3 -m venv venv source venv/bin/activate