Skip to content
Snippets Groups Projects
Commit 2d92dbeb authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add dark theme warning

parent 2dddb8e2
No related branches found
No related tags found
No related merge requests found
command_exists() {
cmd=$1
if command -v $cmd &> /dev/null
then
true
else
false
fi
}
......@@ -4,6 +4,7 @@ INSTALLER_DIR=$(dirname "${BASH_SOURCE[0]}")
HELPER_SCRIPTS_DIR="$INSTALLER_DIR/helper_scripts"
source "$HELPER_SCRIPTS_DIR/packages.sh"
source "$HELPER_SCRIPTS_DIR/command_exists.sh"
NONE_IDENTIFIER="none"
NONE_TEXT="None"
......@@ -65,6 +66,10 @@ main() {
--extra-vars "dconf_config_path='$dconf_config_path' vscode_config_path='$vscode_config_path' vscode_extensions_path='$vscode_extensions_path' swap_sizes='$swap_sizes' git_config_path='$git_config_path'" \
--inventory "${INSTALLER_DIR}/ansible_inventory.ini" \
$(IFS=' ' echo "${additional_ansible_args[*]}")
if command_exists flatpak; then
echo "If you have set your system theme to dark, you may need to update your Flatpak packages. You can use update.sh to do so."
fi
}
main
......@@ -4,6 +4,7 @@ INSTALLER_DIR=$(dirname "${BASH_SOURCE[0]}")
HELPER_SCRIPTS_DIR="$INSTALLER_DIR/helper_scripts"
source "$HELPER_SCRIPTS_DIR/package_manager_identifiers.sh"
source "$HELPER_SCRIPTS_DIR/command_exists.sh"
declare -A PACKAGE_MANAGERS
PACKAGE_MANAGERS=(
......@@ -24,17 +25,6 @@ ORDERED_PACKAGE_MANAGERS=(
"$MAINLINE_KERNEL_IDENTIFIER"
)
command_exists() {
cmd=$1
if command -v $cmd &> /dev/null
then
true
else
false
fi
}
main() {
possible_package_managers=("${DEFAULT_PACKAGE_MANAGERS[@]}")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment