mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
add information about flip and autopep8 for the prehook script
This commit is contained in:
parent
10cbf59f16
commit
b378f3f84c
@ -52,7 +52,15 @@ if ! type -p flip >/dev/null; then
|
|||||||
dos2unix -q -k "$2"
|
dos2unix -q -k "$2"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
echo "flip not found" >&2
|
echo "flip not found" >&2
|
||||||
|
echo "Try:"
|
||||||
|
if [[ -f /etc/fedora-release ]]; then
|
||||||
|
echo " dnf install dos2unix";
|
||||||
|
elif [[ -f /etc/debian_version ]]; then
|
||||||
|
echo " apt install flip";
|
||||||
|
else
|
||||||
|
echo " installing flip or dos2unix from your package manager";
|
||||||
|
fi
|
||||||
flip() {
|
flip() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
@ -61,6 +69,14 @@ fi
|
|||||||
|
|
||||||
if ! type -p autopep8 >/dev/null; then
|
if ! type -p autopep8 >/dev/null; then
|
||||||
echo "autopep8 not found" >&2
|
echo "autopep8 not found" >&2
|
||||||
|
echo "Try:"
|
||||||
|
if [[ -f /etc/fedora-release ]]; then
|
||||||
|
echo " dnf install python3-autopep8";
|
||||||
|
elif [[ -f /etc/debian_version ]]; then
|
||||||
|
echo " apt install python3-autopep8";
|
||||||
|
else
|
||||||
|
echo " installing python3-autopep8 from your package manager";
|
||||||
|
fi
|
||||||
autopep8() {
|
autopep8() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user