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