diff --git a/system_setup/logon_script.sh b/system_setup/logon_script.sh index b3f1792..97c2b1a 100755 --- a/system_setup/logon_script.sh +++ b/system_setup/logon_script.sh @@ -17,6 +17,13 @@ if [ "$EUID" -eq 0 ]; then echo "Press any key to continue" && read -n 1 -s -r && exit 1 fi +#Check for needed python-modules +python -c "import webdav3">/dev/null 2>&1 +if [[ $? -ne 0 ]]; then + echo "Installing pip module webdav3" + pip install webdavclient3>/dev/null +fi + #TODO C: Check if Desktop is KDE/Plasma and support other Displays # Make kdesu use sudo kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo