Skip to content
Snippets Groups Projects
Commit 6166fde8 authored by Alvaro Graves's avatar Alvaro Graves
Browse files

Adding css dir to install script

also deleting metaxample
parent f14b1641
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
root_htaccess="root.htaccess"
cssdir="css"
parent_htaccess="../.htaccess"
settings_file="settings.inc.php"
......@@ -17,6 +18,13 @@ ns=$basedir
endpoint="http://localhost/sparql?"
everything_ok="n"
if [ -e "$cssdir" ]
then
echo ".css directory found in parent directory."
echo "Please remove it to continue the installation."
exit
fi
if [ -e "$parent_htaccess" ]
then
echo ".htaccess file found in parent directory."
......@@ -24,7 +32,6 @@ then
exit
fi
while [ "$everything_ok" != "y" ]
do
echo "==Basic Information=="
......@@ -171,4 +178,5 @@ echo ""
cp $root_htaccess $parent_htaccess
echo 'RewriteRule ^(.+)$ '$slodpsdir'/index.php?q=$1 [L]' >> $parent_htaccess
cp -rv $cssdir ../
@prefix : <http://shai-hulud/testCMS/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
:alvaro.html foaf:primatyTopic :alvaro.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment