cleanup
This commit is contained in:
parent
dbcb084283
commit
dd8263eaac
1 changed files with 12 additions and 16 deletions
|
@ -6,7 +6,7 @@ RED='\033[1;30m'
|
|||
NC='\033[0m'
|
||||
dotfiles="${1:-$HOME/.dotfiles}"
|
||||
|
||||
echo "${BLUE}Using $dotfiles as dotfiles directory!${NC}"
|
||||
echo "${BLUE}Changing directory to $dotfiles${NC}"
|
||||
if ! cd "$dotfiles"; then
|
||||
echo "${RED}Could not CD into $dotfiles${NC}"
|
||||
exit
|
||||
|
@ -41,12 +41,8 @@ else
|
|||
fi
|
||||
|
||||
echo "${BLUE}Generating librewolf profiles...${NC}"
|
||||
if ! cd "$dotfiles/.librewolf"; then
|
||||
"${RED}Could not CD into $HOME/.librewolf${NC}"
|
||||
exit
|
||||
fi
|
||||
envsubst < installs.template > $HOME/.librewolf/installs.ini
|
||||
envsubst < profiles.template > $HOME/.librewolf/profiles.ini
|
||||
envsubst <.librewolf/installs.template >$HOME/.librewolf/installs.ini
|
||||
envsubst <.librewolf/profiles.template >$HOME/.librewolf/profiles.ini
|
||||
echo
|
||||
|
||||
echo "${GREEN}Dotfiles Synced Successfully!${NC}"
|
||||
|
|
Loading…
Add table
Reference in a new issue