1 Commits

Author SHA1 Message Date
8cc5e1947f Mkae current user the default createrepo-user 2020-04-10 16:40:26 -04:00

View File

@@ -26,7 +26,7 @@ installJRMC () {
_createrepo_webroot="/var/www/jriver" _createrepo_webroot="/var/www/jriver"
[[ -z $_createrepo_user ]] && \ [[ -z $_createrepo_user ]] && \
_createrepo_user="www-user" _createrepo_user="$(whoami)"
[[ -z $_user ]] && \ [[ -z $_user ]] && \
_user="$(whoami)" _user="$(whoami)"
@@ -78,7 +78,7 @@ OPTIONS
--createrepo-webroot PATH --createrepo-webroot PATH
The webroot directory to install the repo (Default: /var/www/html) The webroot directory to install the repo (Default: /var/www/html)
--createrepo-user USER --createrepo-user USER
The web server user (Default: www-user) The web server user (Default: current user)
SERVICES SERVICES
mediaserver mediaserver
@@ -97,11 +97,6 @@ OPTIONS
createrepo createrepo
Install service to build latest MC RPM and run createrepo hourly for the current user Install service to build latest MC RPM and run createrepo hourly for the current user
--createrepo-webroot PATH
The webroot directory to install the repo (Default: /var/www/html)
--createrepo-user USER
The web server user (Default: www-user)
EOF EOF
# Exit using passed exit code # Exit using passed exit code