Add functionality to clone password-store for user 'trude' in install script

This commit is contained in:
2025-03-13 16:34:04 +00:00
parent 5d4478e4b1
commit 0e67c91eb4

View File

@@ -121,6 +121,21 @@ else
fi
fi
# Clone password-store
if [ "$(whoami)" = "trude" ]; then
if [ ! -d "$HOME/.password-store" ]; then
printf "${YELLOW}[+] Cloning password-store...${NC}\n"
git clone https://github.com/TrudeEH/password-store "$HOME/.password-store"
if [ $? -ne 0 ]; then
printf "${RED}[E] Error cloning password-store.${NC}\n"
else
printf "${GREEN}[I] Password-store cloned successfully.${NC}\n"
fi
else
printf "${CYAN}[I] Password-store already present.${NC}\n"
fi
fi
# Security Scan
if [ ! -f "$HOME/dotfiles/logs/lynis_scan.log" ]; then
printf "${YELLOW}[+] Running Lynis Security Scan...${NC}\n"