Skip to content
Snippets Groups Projects
Commit 93d27f91 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

Revert "odstranen update cest ke knihovnam a konfiguracnim souboru"

This reverts commit 95525615.
parent 907443f1
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,21 @@ PerlSwitches -I $lib
}
changeServerPath()
{
echo "Update server path ...";
for file in `ls -1 $bin`
do
echo "- update server path: ${bin}/$file"
perl -pi -e "s#/opt#${prefix}#" ${bin}/$file
done
echo "- update server path: ${lib}/Warden.pm"
perl -pi -e "s#/opt#${prefix}#" ${lib}/Warden.pm
}
create_symlinks()
{
echo "Creating symbolic links ..."
......@@ -328,6 +343,9 @@ make_server_conf
# create Apache configuration file
make_apache_conf
#update paths in utilities
changeServerPath
# crate symlinks from warden server bin directory to /usr/local/bin
create_symlinks
......
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