Minor update to setup.sh script to createrepo and change ownership to awips user
This commit is contained in:
parent
f1d9f96693
commit
e772865c2e
1 changed files with 2 additions and 2 deletions
|
@ -55,9 +55,9 @@ sudo docker exec -ti $dockerID /bin/bash -xec "/awips2/repo/awips2-builds/build/
|
|||
date=$(date +%Y%m%d)
|
||||
|
||||
if [[ $(whoami) == "awips" ]]; then # local build
|
||||
sudo chown -R awips:fxalpha dist/${os_version}-dev
|
||||
mv dist/${os_version}-dev dist/${os_version}-dev-${date}
|
||||
createrepo -g ../comps.xml dist/${os_version}-dev
|
||||
su - -c "createrepo -g ../comps.xml dist/${os_version}-dev"
|
||||
sudo chown -R awips:fxalpha dist/${os_version}-dev
|
||||
#repomanage -k1 --old dist/${os_version}-dev | xargs rm -f
|
||||
#
|
||||
# Push to web server
|
||||
|
|
Loading…
Add table
Reference in a new issue