Logon:Install pip-module webdav3
This commit is contained in:
@@ -17,6 +17,13 @@ if [ "$EUID" -eq 0 ]; then
|
|||||||
echo "Press any key to continue" && read -n 1 -s -r && exit 1
|
echo "Press any key to continue" && read -n 1 -s -r && exit 1
|
||||||
fi
|
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
|
#TODO C: Check if Desktop is KDE/Plasma and support other Displays
|
||||||
# Make kdesu use sudo
|
# Make kdesu use sudo
|
||||||
kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo
|
kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo
|
||||||
|
|||||||
Reference in New Issue
Block a user