summaryrefslogtreecommitdiffstats
path: root/files/mga_rpms/update_media.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/mga_rpms/update_media.sh')
-rwxr-xr-xfiles/mga_rpms/update_media.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/files/mga_rpms/update_media.sh b/files/mga_rpms/update_media.sh
index 75aa914..d63ab91 100755
--- a/files/mga_rpms/update_media.sh
+++ b/files/mga_rpms/update_media.sh
@@ -14,6 +14,9 @@ copy_latest()
else
name=$2
fi
+ if [ $arch = "i586" ] ; then
+ name=${name/-desktop-/-desktop586-}
+ fi
path=`ls -1v $bcdmedia/$arch/media/$repo/{release,updates}/$name.rpm 2> /dev/null | tail -1`
if [ -z $path ] ; then
echo "Couldn't find $name for $arch"
@@ -47,8 +50,8 @@ copy_latest core gcc-5*
copy_latest core gcc-cpp-5*
copy_latest core glibc-devel-*
copy_latest core isl-0*
-copy_latest core kernel-desktop*-devel-4*
-copy_latest core kernel-desktop*-devel-latest-4*
+copy_latest core kernel-desktop-devel-4*
+copy_latest core kernel-desktop-devel-latest-4*
copy_latest core kernel-userspace-headers-4*
copy_latest core lib isl15-0*
copy_latest core lib mpc3-1*
@@ -67,6 +70,7 @@ copy_latest nonfree x11-driver-video-nvidia-current-*
# add broadcom-wl
copy_latest nonfree dkms-broadcom-wl-*
copy_latest nonfree broadcom-wl-common-*
+#copy_latest nonfree broadcom-wl-kernel-desktop-latest-*
# add broadcom wireless configs
copy_latest core broadcom-bcma-config-*