mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-25 14:30:11 +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}"
|
echo -e "${GREEN}linuxtoolbox directory created: $LINUXTOOLBOXDIR${RC}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$LINUXTOOLBOXDIR/linux-setup" ]; then
|
if [ ! -d "$LINUXTOOLBOXDIR/linutil" ]; then
|
||||||
echo -e "${YELLOW}Cloning linux-setup repository into: $LINUXTOOLBOXDIR/linux-setup${RC}"
|
echo -e "${YELLOW}Cloning linutil repository into: $LINUXTOOLBOXDIR/linutil${RC}"
|
||||||
git clone https://github.com/ChrisTitusTech/linux-setup "$LINUXTOOLBOXDIR/linux-setup"
|
git clone https://github.com/ChrisTitusTech/linutil "$LINUXTOOLBOXDIR/linutil"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo -e "${GREEN}Successfully cloned linux-setup repository${RC}"
|
echo -e "${GREEN}Successfully cloned linutil repository${RC}"
|
||||||
else
|
else
|
||||||
echo -e "${RED}Failed to clone linux-setup repository${RC}"
|
echo -e "${RED}Failed to clone linutil repository${RC}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$LINUXTOOLBOXDIR/linux-setup" || exit
|
cd "$LINUXTOOLBOXDIR/linutil" || exit
|
||||||
|
|
||||||
command_exists() {
|
command_exists() {
|
||||||
command -v "$1" >/dev/null 2>&1
|
command -v "$1" >/dev/null 2>&1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user