diff --git a/update-renater-meta.sh b/update-renater-meta.sh index 9f3a54d..1b8e5b9 100755 --- a/update-renater-meta.sh +++ b/update-renater-meta.sh @@ -68,13 +68,11 @@ cat <$FIXTURE_TMP }] EOF -chown authentic $METADATA_TMP $FILTERS_TMP $FIXTURE_TMP - -# Load fixture -authentic2-ctl loaddata -v0 $FIXTURE_TMP - # Fix wrong naming of email attribute sed -i 's/\/mail/' $FILTERS_TMP +# Load fixture +/etc/init.d/authentic2 manage loaddata -v0 $FIXTURE_TMP + # Load metadataas -authentic2-ctl sync-metadata --source=renater --shibboleth-attribute-filter-policy=$FILTERS_TMP --sp -v1 $METADATA_TMP +/etc/init.d/authentic2 manage sync-metadata --source=renater --shibboleth-attribute-filter-policy=$FILTERS_TMP --sp -v1 $METADATA_TMP