mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge pull request #10352 from adamboutcher/install_rocky
Improved Installer: Added Rocky Linux Support
This commit is contained in:
commit
bc91aef47d
|
@ -301,7 +301,7 @@ echo '
|
||||||
'
|
'
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " Welcome to Snipe-IT Inventory Installer for CentOS, Fedora, Debian and Ubuntu!"
|
echo " Welcome to Snipe-IT Inventory Installer for CentOS, Rocky, Fedora, Debian and Ubuntu!"
|
||||||
echo ""
|
echo ""
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
case $distro in
|
case $distro in
|
||||||
|
@ -323,7 +323,7 @@ case $distro in
|
||||||
apache_group=www-data
|
apache_group=www-data
|
||||||
apachefile=/etc/apache2/sites-available/$APP_NAME.conf
|
apachefile=/etc/apache2/sites-available/$APP_NAME.conf
|
||||||
;;
|
;;
|
||||||
*centos*|*redhat*|*ol*|*rhel*)
|
*centos*|*redhat*|*ol*|*rhel*|*rocky*)
|
||||||
echo " The installer has detected $distro version $version."
|
echo " The installer has detected $distro version $version."
|
||||||
distro=centos
|
distro=centos
|
||||||
apache_group=apache
|
apache_group=apache
|
||||||
|
|
Loading…
Reference in a new issue