1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

fix: OpenSuse package dir & hash versioning

This commit is contained in:
purian23
2025-12-01 23:48:55 -05:00
parent 344c4f9385
commit f96a2e2325
4 changed files with 19 additions and 4 deletions

View File

@@ -22,7 +22,16 @@ else
PACKAGES=("${ALL_PACKAGES[@]}")
fi
cd "$OBS_BASE"
# Ensure cache directory exists
if [[ ! -d "$OBS_BASE" ]]; then
echo "Creating OBS cache directory: $OBS_BASE"
mkdir -p "$OBS_BASE"
fi
cd "$OBS_BASE" || {
echo "ERROR: Failed to access OBS cache directory: $OBS_BASE"
exit 1
}
for pkg in "${PACKAGES[@]}"; do
case "$pkg" in