Fixes dependency issue and missing folder issue

This commit is contained in:
Brian Zalewski 2023-11-05 05:33:23 +00:00
parent 17aa94f51d
commit 072fb98dd0
5 changed files with 18 additions and 11 deletions

View file

@ -1,5 +1,11 @@
{{- if (ne .host.distro.family "windows") -}}
#!/usr/bin/env bash
# @file KubeSphere Installation / Configuration
# @brief Sets up KubeSphere
# @description
# This script sets up [KubeSphere](https://kubesphere.io/). KubeSphere is a distributed operating system for
# cloud-native application management, using Kubernetes as its kernel. It provides a plug-and-play architecture,
# allowing third-party applications to be seamlessly integrated into its ecosystem.
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}

View file

@ -1,4 +1,4 @@
{{- if eq .host.distro.family "linux" -}}
{{- if (eq .host.distro.family "linux") -}}
#!/usr/bin/env bash
# @file Linux Shortcut Removal
# @brief Cleans up desktop shortcuts that are out of place or unwanted on Linux devices
@ -28,4 +28,4 @@ for DESKTOP_ICON in {{ $removeShortcuts }}; do
done
done
{{- end -}}
{{ end -}}

View file

@ -45,7 +45,11 @@ if command -v powerline > /dev/null && [ -f "$HOME/.bashrc" ]; then
fi
### Ensure completions are enabled
cd "$BASH_IT/enabled"
if [ -d "$BASH_IT/enabled" ]; then
logg info "Changing directory to $BASH_IT/enabled" && cd "$BASH_IT/enabled"
else
logg info "$BASH_IT/enabled not a directory yet"
fi
logg info 'Enabling bash-it completions'
# TODO: Move these plugins to the .chezmoidata.yaml
for COMPLETION in defaults dirs docker docker-compose export git makefile ng ssh system vagrant; do

View file

@ -12,6 +12,9 @@ if OS.mac?
brew "m-cli"
end
brew "age"
# Ensure macOS Bash gets upgraded to 5+
brew "bash"
brew "gawk"
brew "glow"
brew "gnupg"
brew "go"

View file

@ -3598,7 +3598,7 @@ softwarePackages:
_github: https://github.com/antonmedv/fx
_home: https://github.com/antonmedv/fx
_name: FX
brew: fxbrew install metrue/fx/fx
brew: metrue/fx/fx
go: github.com/antonmedv/fx@latest
pacman: fx
pkg: fx
@ -6163,13 +6163,7 @@ softwarePackages:
_bin: vdirsyncer
_github: https://github.com/pimutils/vdirsyncer
_name: vdirsyncer
_pre: |
echo "TODO - Implement the following command after automating the process of setting up contact groups / calendars to sync"
echo "vdirsyncer discover contacts"
echo "vdirsyncer sync contacts"
echo "TODO - Add to cron"
echo "*/30 * * * * /usr/local/bin/vdirsyncer sync > /dev/null"
echo "This should be in _post instead of _pre - it is here for testing purposes"
_pre: echo "TODO - Implement the following command after automating the process of setting up contact groups / calendars to sync" && echo "vdirsyncer discover contacts" && echo "vdirsyncer sync contacts" && echo "TODO - Add to cron" && echo "*/30 * * * * /usr/local/bin/vdirsyncer sync > /dev/null" && echo "This should be in _post instead of _pre - it is here for testing purposes"
pipx: vdirsyncer
charm:
_bin: charm