bootstrap: lsd: feat: Add check if lsd is installed
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
if ! command -v lsd &> /dev/null; then
|
||||||
|
echo 'Installing lsd'
|
||||||
|
|
||||||
if [[ "$OSNAME" == "Linux" ]]; then
|
if [[ "$OSNAME" == "Linux" ]]; then
|
||||||
# Linux
|
# Linux
|
||||||
if [[ "DISTRO_TYPE" == "debian" ]]; then
|
if [[ "DISTRO_TYPE" == "debian" ]]; then
|
||||||
@@ -20,3 +23,6 @@ else
|
|||||||
echo 'Exiting...'
|
echo 'Exiting...'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'lsd is installed'
|
||||||
|
|||||||
Reference in New Issue
Block a user