Test with a new table to manage external federated usrs.
[sfa.git] / sfa / senslab / config / bash_nukem
index ff119a2..68c7dce 100755 (executable)
@@ -72,13 +72,15 @@ sudo cp $git_local_repo/sfa/senslab/config/$vm/default_config.xml /etc/sfa/defau
 # sudo ln -s ldap_config.py  /etc/sfa/ldap_config.py
 
 #Senslab LDAP and OAR access config files
-if [ !-f /etc/sfa/ldap_config.py ] 
+if [ ! -f /etc/sfa/ldap_config.py ] 
 then
     sudo cp $git_local_repo/sfa/senslab/config/ldap_config.py  /etc/sfa/ldap_config.py 
+fi
 
-if [ !-f /etc/sfa/oar_config.py ] 
+if [ ! -f /etc/sfa/oar_config.py ] 
 then
     sudo cp $git_local_repo/sfa/senslab/config/oar_config.py  /etc/sfa/oar_config.py 
+fi
 
 sudo service sfa restart
 
@@ -91,4 +93,4 @@ cd ~
 sudo sfaadmin.py registry import_registry
 sudo service sfa restart
 
-sudo rm -rf /var/lib/sfa/authorities/plc
\ No newline at end of file
+sudo rm -rf /var/lib/sfa/authorities/plc