Verified Commit 2053182e authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

Use /usr/bin/python3 to provide /usr/bin/python

parent fe395291
parrot-core (4.11.210221) rolling-testing; urgency=medium
* Use /usr/bin/python3 to provide /usr/bin/python
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Sun, 21 Feb 2021 01:02:24 +0100
parrot-core (4.10.200807) rolling-testing; urgency=medium
* Add Snap wrapper.
......
......@@ -10,3 +10,8 @@ cat /etc/bashrc > /usr/lib/parrot-skel/etc/skel/.bashrc
# Configure plymouth theme
[ ! -x /usr/sbin/plymouth-set-default-theme ] || /usr/sbin/plymouth-set-default-theme parrot || true
# Install python alias
if [ ! $(update-alternatives --list python | grep python3) ]; then
update-alternatives --install /usr/bin/python python /usr/bin/python3 50
fi
#!/bin/bash
set -e
# Delete python alias
update-alternatives --remove python /usr/bin/python3
......@@ -2,7 +2,7 @@ if [ "$LANG" = "C" ]; then
if [ -e /etc/default/locale ]; then
. /etc/default/locale
else
LANG="en_US.UTF-8"
export LANG="en_US.UTF-8"
fi
fi
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment