summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfiles/mga_rpms/update_media.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/mga_rpms/update_media.sh b/files/mga_rpms/update_media.sh
index ab367a9..fac618c 100755
--- a/files/mga_rpms/update_media.sh
+++ b/files/mga_rpms/update_media.sh
@@ -1,6 +1,10 @@
bcdmedia=/home/bcd/build_bcd/pieces/cauldron
+# create dirs if non-existant
+mkdir -p {i586,x86_64}/mga_rpms/{core,nonfree}/media_info
+
+# clean dirs
rm -f {i586,x86_64}/mga_rpms/{core,nonfree}/*.rpm
rm -f {i586,x86_64}/mga_rpms/{core,nonfree}/media_info/*