commit f3931677987557cf0cf9fe7ba4d397b1f72fc7e4
Author: Elan Ruusamäe <[email protected]>
Date:   Sun May 1 15:08:10 2016 +0300

    poldek-config: add -c option
    
    can be useful to modify vserver or chroot config

 poldek-config.sh | 6 +++++-
 poldek.spec      | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/poldek.spec b/poldek.spec
index d006437..1f53f1d 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -34,7 +34,7 @@
 %define                ver_rpm         5.4.10
 %endif
 
-%define                rel     2
+%define                rel     3
 Summary:       RPM packages management helper tool
 Summary(hu.UTF-8):     RPM csomagkezelést segítő eszköz
 Summary(pl.UTF-8):     Pomocnicze narzędzie do zarządzania pakietami RPM
diff --git a/poldek-config.sh b/poldek-config.sh
index d8732ef..795e894 100755
--- a/poldek-config.sh
+++ b/poldek-config.sh
@@ -42,7 +42,7 @@ option_set() {
 
 # parse command line args
 parse_arguments() {
-       t=$(getopt -o h --long help -n "$PROGRAM" -- "$@")
+       t=$(getopt -o hc: --long help -n "$PROGRAM" -- "$@")
        [ $? != 0 ] && exit $?
        eval set -- "$t"
 
@@ -52,6 +52,10 @@ parse_arguments() {
                        usage
                        exit 0
                ;;
+               -c)
+                       shift
+                       poldek_conf=$1
+               ;;
                --)
                        shift
                        break
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/f3931677987557cf0cf9fe7ba4d397b1f72fc7e4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to