Skip to content

Commit

Permalink
[#991] Changed . for : in chown call
Browse files Browse the repository at this point in the history
Since some BSDs allow . (dot) in the username & we can just as well
use the more common : between group and user.
  • Loading branch information
kardan committed Feb 10, 2015
1 parent 0eb1d4c commit f88882c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ akvo/settings/6*.conf
akvo/settings/backup
akvo/testing.py
scripts/dev-vm/
data/dump
data/*
!data/README.md
!data/dump.sh
!data/load.sh

# Dev environment
.vagrant
Expand Down
Empty file added data/README.md
Empty file.
3 changes: 1 addition & 2 deletions vagrant/provisioning/load_test_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ unzip $WORKDIR/rsr-test-db.zip -d $WORKDIR

rm -rfv /var/akvo/rsr/mediaroot/db
cp -rv $WORKDIR/rsr-test-db/media/db /var/akvo/rsr/mediaroot/db
chown -R rsr.rsr /var/akvo/rsr/mediaroot/db
chown -R rsr:rsr /var/akvo/rsr/mediaroot/db

zcat $WORKDIR/rsr-test-db/rsr.sql.gz | sudo -H -u postgres psql rsr

Expand All @@ -36,4 +36,3 @@ $manage migrate
$manage collectstatic --noinput

echo `date` > /etc/localdev_rsr_provisioned

0 comments on commit f88882c

Please sign in to comment.