mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 03:38:03 +01:00
No need for shebang adjusting since the current shebang is correct for all systems
This commit is contained in:
8
install
8
install
@@ -31,14 +31,6 @@ fi
|
||||
|
||||
$SUDO curl -skL $BIN_URL -o $TARGET
|
||||
|
||||
if [ ! $(which python2 2>/dev/null) ]; then
|
||||
if [ $(uname) == 'Darwin' ]; then
|
||||
$SUDO sed -i '' '1 s/python2/python/' $TARGET
|
||||
else
|
||||
$SUDO sed -i '1 s/python2/python/' $TARGET
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $? == 0 ]]; then
|
||||
$SUDO chmod +x $TARGET
|
||||
echo "Done. Now start recording by typing \"asciinema\"."
|
||||
|
||||
Reference in New Issue
Block a user