Skip to content

Commit

Permalink
Improve mass-builder script
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Jun 9, 2024
1 parent c890cc5 commit e034bd1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions SOURCES/mass-builder
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
APP="MassBuilder"

# App version (String)
VER="6.1.2"
VER="6.1.3"

################################################################################

Expand Down Expand Up @@ -123,6 +123,7 @@ prepare() {
separator "PREPARE SYSTEM"

yum clean all
yum -y -q --nogpgcheck update almalinux-release rocky-release oraclelinux-release redhat-release

if ! rpm -q kaos-repo &> /dev/null ; then
if ! yum install -y "https://pkgs.kaos.st/kaos-repo-latest.el$(getELVersion).noarch.rpm" ; then
Expand All @@ -136,8 +137,6 @@ prepare() {
return 1
fi

yum -y -q update almalinux-release rocky-release oraclelinux-release redhat-release

if ! yum -y update ; then
error "Can't update system"
return 1
Expand Down

0 comments on commit e034bd1

Please sign in to comment.