mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
Changed linux-setup to linutil in 1-compile-setup.sh
This commit is contained in:
parent
9403f30157
commit
0fa148c25c
|
@ -14,18 +14,18 @@ if [ ! -d "$LINUXTOOLBOXDIR" ]; then
|
|||
echo -e "${GREEN}linuxtoolbox directory created: $LINUXTOOLBOXDIR${RC}"
|
||||
fi
|
||||
|
||||
if [ ! -d "$LINUXTOOLBOXDIR/linux-setup" ]; then
|
||||
echo -e "${YELLOW}Cloning linux-setup repository into: $LINUXTOOLBOXDIR/linux-setup${RC}"
|
||||
git clone https://github.com/ChrisTitusTech/linux-setup "$LINUXTOOLBOXDIR/linux-setup"
|
||||
if [ ! -d "$LINUXTOOLBOXDIR/linutil" ]; then
|
||||
echo -e "${YELLOW}Cloning linutil repository into: $LINUXTOOLBOXDIR/linutil${RC}"
|
||||
git clone https://github.com/ChrisTitusTech/linutil "$LINUXTOOLBOXDIR/linutil"
|
||||
if [ $? -eq 0 ]; then
|
||||
echo -e "${GREEN}Successfully cloned linux-setup repository${RC}"
|
||||
echo -e "${GREEN}Successfully cloned linutil repository${RC}"
|
||||
else
|
||||
echo -e "${RED}Failed to clone linux-setup repository${RC}"
|
||||
echo -e "${RED}Failed to clone linutil repository${RC}"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "$LINUXTOOLBOXDIR/linux-setup" || exit
|
||||
cd "$LINUXTOOLBOXDIR/linutil" || exit
|
||||
|
||||
command_exists() {
|
||||
command -v "$1" >/dev/null 2>&1
|
||||
|
@ -159,4 +159,4 @@ install_additional_dependencies() {
|
|||
|
||||
checkEnv
|
||||
installDepend
|
||||
install_additional_dependencies
|
||||
install_additional_dependencies
|
||||
|
|
Loading…
Reference in New Issue
Block a user