Commit c3f08af9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

cleanup

parent 7c210e66
#!/bin/bash #!/bin/bash
# 2003-2010, 2012, 2015, 2016 (c) Etersoft www.etersoft.ru # 2003-2010, 2012, 2015, 2016, 2017 (c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru> # Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain # Public domain
# #
# BPH - backport package with hasher checking # BPS - backport package spec
# Used ROOTDIR if defined (for non ALT systems) # Used ROOTDIR if defined (for non ALT systems)
...@@ -28,7 +28,7 @@ phelp() ...@@ -28,7 +28,7 @@ phelp()
echo "Usage: rpmbps -b $EXAMPLEALTDISTRVERSION for backport to ALT Linux $EXAMPLEALTDISTRVERSION and so on" echo "Usage: rpmbps -b $EXAMPLEALTDISTRVERSION for backport to ALT Linux $EXAMPLEALTDISTRVERSION and so on"
echo echo
echog "Options:" echog "Options:"
echog " -b REPONAME binary repository name (p5, t6 and so on)" echog " -b REPONAME binary repository name (p8, t7 and so on)"
# echog " -q quiet" # echog " -q quiet"
echo echo
echog "Examples:" echog "Examples:"
...@@ -140,6 +140,8 @@ else ...@@ -140,6 +140,8 @@ else
fi fi
fi fi
# TODO: add support for external hooks (from config dir)
if build32on64 ; then if build32on64 ; then
[ "$DISTRNAME" = "Debian" ] && ! version_more_version $DISTRVERSION 8 && BUILDREQ="$BUILDREQ ia32-libs" && ADDREQUIRES="$ADDREQUIRES ia32-libs" [ "$DISTRNAME" = "Debian" ] && ! version_more_version $DISTRVERSION 8 && BUILDREQ="$BUILDREQ ia32-libs" && ADDREQUIRES="$ADDREQUIRES ia32-libs"
[ "$DISTRNAME" = "AstraLinux" ] && BUILDREQ="$BUILDREQ ia32-libs-dev gcc-multilib" && ADDREQUIRES="$ADDREQUIRES ia32-libs" [ "$DISTRNAME" = "AstraLinux" ] && BUILDREQ="$BUILDREQ ia32-libs-dev gcc-multilib" && ADDREQUIRES="$ADDREQUIRES ia32-libs"
......
#!/bin/sh -x #!/bin/sh
# 2003-2016 (c) Etersoft www.etersoft.ru # 2003-2017 (c) Etersoft www.etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru> # Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain # Public domain
# #
......
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