Updated setup.sh script to run createrepo and change ownership to awips:fxalpha
This commit is contained in:
parent
29dfd64bbb
commit
a879ebac9d
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ date=$(date +%Y%m%d)
|
||||||
|
|
||||||
if [[ $(whoami) == "awips" ]]; then # local build
|
if [[ $(whoami) == "awips" ]]; then # local build
|
||||||
mv dist/${os_version}-dev dist/${os_version}-dev-${date}
|
mv dist/${os_version}-dev dist/${os_version}-dev-${date}
|
||||||
su - -c "createrepo -g ../comps.xml dist/${os_version}-dev"
|
sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/"
|
||||||
sudo chown -R awips:fxalpha dist/${os_version}-dev
|
sudo chown -R awips:fxalpha dist/${os_version}-dev-${date}
|
||||||
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f
|
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f
|
||||||
#
|
#
|
||||||
# Push to web server
|
# Push to web server
|
||||||
|
|
Loading…
Add table
Reference in a new issue