Commit d7725839 authored by Claes Sjofors's avatar Claes Sjofors

Package jar-file requirement removed

parent 8664b501
...@@ -254,13 +254,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -254,13 +254,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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,13 +259,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,13 +259,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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
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
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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir 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,13 +259,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,13 +259,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar chown pwrp $web_dir/pwr_jopg.jar
fi fi
fi
fi fi
# #
......
...@@ -254,13 +254,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -254,13 +254,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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,13 +259,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -259,13 +259,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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
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
...@@ -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,13 +230,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -230,13 +230,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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,13 +230,19 @@ if [ -e /etc/proview.cnf ]; then ...@@ -230,13 +230,19 @@ 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
fi
if [ -e /usr/pwrrt/lib/pwr_jopg.jar ]; then
cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir cp /usr/pwrrt/lib/pwr_jopg.jar $web_dir
chown pwrp $web_dir/pwr_jopg.jar 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