mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-05 09:48:31 +00:00
Adjust otherpkgs repo for rhel8/centos8
This fixes the script not completing successfully
This commit is contained in:
@@ -386,8 +386,32 @@ fi
|
||||
array_set_element os_path $index $ospkgdir_ok
|
||||
done
|
||||
fi # x86_64
|
||||
elif ( pmatch "$OSVER" "rhels8*" ); then
|
||||
if [ $ARCH == "x86_64" ]; then
|
||||
for arg in "BasOS" "AppStream"
|
||||
do
|
||||
ospkgdir_ok="$ospkgdir/$arg"
|
||||
array_set_element os_path $index $ospkgdir_ok
|
||||
index=$(expr $index + 1)
|
||||
done
|
||||
fi # x86_64
|
||||
fi # if...elif..fi
|
||||
fi # eq default_pkgdir
|
||||
elif ( pmatch "$OSVER" "centos*" ); then
|
||||
#default_pkgdir="$INSTALLDIR/$OSVER/$ARCH"
|
||||
if [ $dir == $default_pkgdir ] || [ $dir == "$default_pkgdir/" ]; then
|
||||
|
||||
if ( pmatch "$OSVER" "centos8*" ); then
|
||||
if [ $ARCH == "x86_64" ]; then
|
||||
for arg in "BaseOS" "AppStream"
|
||||
do
|
||||
ospkgdir_ok="$ospkgdir/$arg"
|
||||
array_set_element os_path $index $ospkgdir_ok
|
||||
index=$(expr $index + 1)
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi # match rhel*
|
||||
|
||||
index=$(expr $index + 1)
|
||||
|
Reference in New Issue
Block a user