Skip to content

Commit

Permalink
fix generation of doc for rocky9
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Nov 8, 2023
1 parent 515036a commit a8e5c0b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions linux/autogenerate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ N=$OS
if [[ $OS =~ "debian" ]] || [[ $OS =~ "ubuntu" ]] ; then
N="ubuntu"
elif [[ $OS =~ "rocky" ]] ; then
N="centos7"
N="rocky"
elif [[ $OS =~ "centos" ]] ; then
N="centos7"
fi
echo -en '\n' >> $file
echo "#start-step01: As root, install dependencies" >> $file
line=$(sed -n '2,$p' $dir/step01_"$N"_init.sh)
echo "$line" >> $file
if ! [[ $OS =~ "rocky" ]] ; then
echo "#start-step01: As root, install dependencies" >> $file
line=$(sed -n '2,$p' $dir/step01_"$N"_init.sh)
echo "$line" >> $file
fi

# install java
N=$OS
Expand Down

0 comments on commit a8e5c0b

Please sign in to comment.