fix: use python3 for autojump
This commit is contained in:
parent
628e43529c
commit
c7c4348ac6
@ -136,6 +136,8 @@ install-autojump() {
|
|||||||
(
|
(
|
||||||
cd "autojump"
|
cd "autojump"
|
||||||
python3 "install.py" -d "${install_path}"
|
python3 "install.py" -d "${install_path}"
|
||||||
|
sed -i "s/\#\!\/usr\/bin\/env\ python/\#\!\/usr\/bin\/env\ python3/" \
|
||||||
|
"${install_path}/bin/autojump"
|
||||||
) || return 1
|
) || return 1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user