Commit 0ceffd46 authored by Claes Sjofors's avatar Claes Sjofors

Package jar-file requirement removed

parent dfa10c7f
...@@ -123,4 +123,7 @@ if [ -e /etc/proview.cnf ]; then ...@@ -123,4 +123,7 @@ if [ -e /etc/proview.cnf ]; then
if [ -e $web_dir/pwr_jop.jar ]; then if [ -e $web_dir/pwr_jop.jar ]; then
rm $web_dir/pwr_jop.jar rm $web_dir/pwr_jop.jar
fi fi
if [ -e $web_dir/pwr_jopg.jar ]; then
rm $web_dir/pwr_jopg.jar
fi
fi fi
...@@ -282,12 +282,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -282,12 +282,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
chown pwrp $web_dir/pwr_rt_client.jar chown pwrp $web_dir/pwr_rt_client.jar
fi
if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar chown pwrp $web_dir/pwr_jop.jar
cp /usr/pwrrt/lib/pwr_jopc.jar $web_dir fi
chown pwrp $web_dir/pwr_jopc.jar if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar
fi
fi fi
fi fi
...@@ -482,6 +488,9 @@ if [ -e /etc/proview.cnf ]; then ...@@ -482,6 +488,9 @@ if [ -e /etc/proview.cnf ]; then
if [ -e $web_dir/pwr_jop.jar ]; then if [ -e $web_dir/pwr_jop.jar ]; then
rm $web_dir/pwr_jop.jar rm $web_dir/pwr_jop.jar
fi fi
if [ -e $web_dir/pwr_jopg.jar ]; then
rm $web_dir/pwr_jopg.jar
fi
fi fi
#%postun #%postun
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment