make gufw-pkexec more flexible
Bug #1834599 reported by
LiohMoeller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gufw |
Fix Released
|
Wishlist
|
costales |
Bug Description
In order to make the gufw-pkexec script more flexible concerning Python versions, I would like to suggest to switch to the following content:
#!/bin/bash
LOCATION=$(python3 -c "import site; print(site.
if [[ -e "$LOCATION" ]]; then
python3 "$LOCATION" $1
fi
This would protect against minor changes e.g. from Python 3.6 to 3.7.
Changed in gui-ufw: | |
status: | In Progress → Fix Committed |
Changed in gui-ufw: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi!
Thanks a lot for the code! I'll release for Gufw 20.04.
A hug!