mirror of
https://github.com/ChrisTitusTech/mybash.git
synced 2026-04-12 23:49:30 +00:00
Adds fedora derivatives support
This commit is contained in:
committed by
GitHub
parent
8ddd22eac5
commit
1117869e97
12
setup.sh
12
setup.sh
@@ -31,9 +31,15 @@ installDepend(){
|
||||
## Check for dependencies.
|
||||
DEPENDENCIES='autojump bash bash-completion'
|
||||
echo -e "${YELLOW}Installing dependencies...${RC}"
|
||||
sudo dpkg --configure -a
|
||||
sudo apt-get install -fyq ${DEPENDENCIES}
|
||||
sudo dpkg --configure -a
|
||||
if [[ -x "/usr/bin/apt-get" ]]; then
|
||||
sudo dpkg --configure -a
|
||||
sudo apt-get install -fyq ${DEPENDENCIES}
|
||||
sudo dpkg --configure -a
|
||||
elif [[ -x "/usr/bin/yum" ]]; then
|
||||
sudo yum install -fyq ${DEPENDENCIES}
|
||||
else
|
||||
echo "Can't check the package manager to use"
|
||||
fi
|
||||
}
|
||||
|
||||
installStarship(){
|
||||
|
||||
Reference in New Issue
Block a user