You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo" --python_exec: path to python intrepreter to install pip modules for (default \"python3\"), will require installation of relevant packages to install pip"
13
14
exit 1
14
15
}
@@ -27,10 +28,19 @@ remove_packages=""
27
28
wrapper_config=""
28
29
pip_packages=""
29
30
python_exec="python3"
31
+
update_cache=1
32
+
cache_cmd=""
30
33
31
34
base_dir=$(dirname $(realpath $0))
32
35
running_os=$($base_dir/detect_os)
33
36
37
+
update_system_cache() {
38
+
if [[ "$update_cache"-eq 1 ]];then
39
+
$install_cmd$cache_cmd
40
+
fi
41
+
update_cache=0 # Prevent multiple cache updates
42
+
}
43
+
34
44
# Install System packages
35
45
# Args:
36
46
# - Comma separated list of packages, can also be space separated and work
0 commit comments