diff --git a/ArchUpdater.sh b/ArchUpdater.sh index 42d565c..37523fe 100755 --- a/ArchUpdater.sh +++ b/ArchUpdater.sh @@ -1,6 +1,11 @@ #!/bin/bash cd "$(dirname "$0")" +#Check if ~/.config/ArchUpdater exists and create it if not +if [ ! -d "$HOME/.config/ArchUpdater" ]; then + mkdir -p $HOME/.config/ArchUpdater +fi + #Check to make sure colordiff installed for the pacdiff step, install it if not, and export it as the editor #export DIFFPROG=colordiff colordiff_installed=$(which colordiff)