summaryrefslogtreecommitdiffstats
path: root/redhat/buildall-sru.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2013-12-28 20:38:50 +0100
commit37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08 (patch)
treec37795f07a7191f6e647a2ae3e093fa1cdd24849 /redhat/buildall-sru.sh
parent4a3e6e0caf179b6ba22f5fb76a6208f3e84ceade (diff)
downloadtde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.tar.gz
tde-packaging-37e11c19d7d1ac39f18b9dba1bffee0dc09f9e08.zip
RPM Packaging: update 3.5.13.2 for Fedora 20
Diffstat (limited to 'redhat/buildall-sru.sh')
-rwxr-xr-xredhat/buildall-sru.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh
index 88cd4a13d..a77df7880 100755
--- a/redhat/buildall-sru.sh
+++ b/redhat/buildall-sru.sh
@@ -25,6 +25,11 @@ elif [ -x /usr/bin/yum ]; then
PKGINST='sudo yum install -y'
PKGDEL='sudo yum remove -y'
REPOUPDATE='(cd $(rpm -E %{_rpmdir}); createrepo $(uname -i); createrepo noarch; sudo yum clean all --disablerepo="*" --enablerepo="rpmbuild*")'
+elif [ -x /usr/bin/apt-get ]; then
+ PKGMGR="apt-get"
+ PKGINST='sudo apt-get install -y'
+ PKGDEL='sudo apt-get remove -y'
+ REPOUPDATE='(cd $(rpm -E %{_rpmdir}); genpkglist $PWD noarch; genpkglist $PWD i586; genpkglist $PWD x86_64; genbasedir $PWD i586 x86_64 noarch; sudo apt-get update)'
fi
BUILDDIR=$(rpm -E "%{_builddir}")