Commit d7725839 authored by Claes Sjofors's avatar Claes Sjofors

Package jar-file requirement removed

parent 8664b501
...@@ -254,12 +254,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -254,12 +254,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -118,6 +118,9 @@ if [ -e /etc/proview.cnf ]; then ...@@ -118,6 +118,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
dname=`eval dirname $0` dname=`eval dirname $0`
......
...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -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
...@@ -103,9 +103,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -103,9 +103,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir 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
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -41,4 +41,7 @@ if [ -e /etc/proview.cnf ]; then ...@@ -41,4 +41,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
...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -254,12 +254,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -254,12 +254,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -118,6 +118,9 @@ if [ -e /etc/proview.cnf ]; then ...@@ -118,6 +118,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
dname=`eval dirname $0` dname=`eval dirname $0`
......
...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,12 +259,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -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
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopc.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopc.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
...@@ -481,6 +487,9 @@ if [ -e /etc/proview.cnf ]; then ...@@ -481,6 +487,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
......
...@@ -230,12 +230,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -230,12 +230,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -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
...@@ -230,12 +230,18 @@ if [ -e /etc/proview.cnf ]; then ...@@ -230,12 +230,18 @@ if [ -e /etc/proview.cnf ]; then
set -e set -e
if [ -e "$web_dir" ]; then if [ -e "$web_dir" ]; then
cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_rt_client.jar ]; then
chown pwrp $web_dir/pwr_rt_client.jar cp /usr/pwrrt/lib/pwr_rt_client.jar $web_dir
cp /usr/pwrrt/lib/pwr_jop.jar $web_dir chown pwrp $web_dir/pwr_rt_client.jar
chown pwrp $web_dir/pwr_jop.jar fi
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir if [ -e /usr/pwrrt/lib/pwr_jop.jar ]; then
chown pwrp $web_dir/pwr_jopg.jar cp /usr/pwrrt/lib/pwr_jop.jar $web_dir
chown pwrp $web_dir/pwr_jop.jar
fi
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
......
...@@ -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
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