diff --git a/bin/omarchy-iso-make b/bin/omarchy-iso-make index 89fbef9..0e2e79d 100755 --- a/bin/omarchy-iso-make +++ b/bin/omarchy-iso-make @@ -38,6 +38,9 @@ while [[ $# -gt 0 ]]; do esac done +# Clear out old packages +sudo rm -rf /var/cache/pacman/pkg/* + # Ensure we have the submodule checked out git submodule update --init --recursive --jobs=8 diff --git a/bin/omarchy-iso-release b/bin/omarchy-iso-release index 8aea81c..97e679a 100755 --- a/bin/omarchy-iso-release +++ b/bin/omarchy-iso-release @@ -40,9 +40,6 @@ fi BUILD_ROOT=$(realpath "${BASH_SOURCE[0]%/*}/..") BUILD_RELEASE_PATH="$BUILD_ROOT/release" -# Clear out old packages -sudo rm -rf /var/cache/pacman/pkg/* - # Make ISOs if [[ ! " ${MAKE_ARGS[*]} " =~ " --no-make " ]]; then echo -e "\e[32mMaking $INSTALLER_REF ISO\e[0m"