14 lines
205 B
Bash
Executable File
14 lines
205 B
Bash
Executable File
#!/bin/bash
|
|
if [[ ! -f "/usr/bin/fish" ]]; then
|
|
if [[ "$EUID" -eq 0 ]]; then
|
|
apt-get update
|
|
apt-get install fish
|
|
else
|
|
sudo apt-get update
|
|
sudo apt-get install fish
|
|
fi
|
|
fi
|
|
|
|
chsh -s /usr/bin/fish
|
|
|