Signed-off-by: Matt Darfeuille <[email protected]>
---
 build/build50 | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/build/build50 b/build/build50
index 0191c3c..6fd4ffc 100755
--- a/build/build50
+++ b/build/build50
@@ -752,7 +752,15 @@ if [ -n 
"${BUILDCORE}${BUILD6}${BUILDINIT}${BUILDLITE}${BUILD6LITE}${BUILDSTD}"
        [ -f $COREDIR/lib.installer ] && do_or_die cp $COREDIR/lib.installer 
$SHOREWALL6DIR/
        [ -f $COREDIR/lib.uninstaller ] && do_or_die cp 
$COREDIR/lib.uninstaller $SHOREWALL6DIR/
        do_or_die "cp $RELEASEDIR/changelog.txt  $RELEASEDIR/releasenotes.txt 
$SHOREWALL6DIR >> $LOGFILE 2>&1"
-       do_or_die "cp $SHOREWALLDIR/install.sh  $SHOREWALLDIR/uninstall.sh 
$SHOREWALL6DIR >> $LOGFILE 2>&1"
+
+        case $VERSION in
+            5.1.3*)
+                do_or_die "cp $SHOREWALLDIR/install.sh  
$SHOREWALLDIR/uninstall.sh $SHOREWALL6DIR >> $LOGFILE 2>&1"
+                ;;
+            *)
+                do_or_die "cp $SHOREWALLDIR/install.sh $SHOREWALL6DIR >> 
$LOGFILE 2>&1"
+                ;;
+        esac
     fi
  
     if [ -n "$BUILDINIT" ]; then
@@ -782,12 +790,20 @@ if [ -n 
"${BUILDCORE}${BUILD6}${BUILDINIT}${BUILDLITE}${BUILD6LITE}${BUILDSTD}"
        [ -f $LITE6DIR/shorewall6-lite.spec ] || do_or_die cp 
$RELEASEDIR/shorewall6-lite.spec $LITE6DIR
        do_or_die "cp $SHOREWALL6DIR/modules*  $LITE6DIR >> $LOGFILE 2>&1"
        do_or_die "cp $SHOREWALL6DIR/helpers   $LITE6DIR >> $LOGFILE 2>&1"
-       do_or_die "cp $SHOREWALLLITEDIR/install.sh 
$SHOREWALLLITEDIR/uninstall.sh $LITE6DIR >> $LOGFILE 2>&1"
        do_or_die "cp $RELEASEDIR/changelog.txt  $RELEASEDIR/releasenotes.txt 
$LITE6DIR >> $LOGFILE 2>&1"
        [ -f $COREDIR/shorewallrc.default ] && do_or_die cp $COREDIR/configure 
$COREDIR/shorewallrc.* $LITE6DIR/
        [ -f $COREDIR/configure.pl ] && do_or_die cp $COREDIR/configure.pl 
$LITE6DIR/
        [ -f $COREDIR/lib.installer ] && do_or_die cp $COREDIR/lib.installer 
$LITE6DIR/
        [ -f $COREDIR/lib.uninstaller ] && do_or_die cp 
$COREDIR/lib.uninstaller $LITE6DIR/
+
+        case $VERSION in
+            5.1.3*)
+                do_or_die "cp $SHOREWALLLITEDIR/install.sh 
$SHOREWALLLITEDIR/uninstall.sh $LITE6DIR >> $LOGFILE 2>&1"
+                ;;
+            *)
+                do_or_die "cp $SHOREWALLLITEDIR/install.sh $LITE6DIR >> 
$LOGFILE 2>&1"
+                ;;
+        esac
     fi
 
     if [ -n "$BUILDCORE" ]; then
-- 
2.8.3


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to