summaryrefslogtreecommitdiffstats
path: root/redhat/buildall-sru.sh
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-08-24 12:59:15 +0200
committerFrançois Andriot <[email protected]>2013-08-24 12:59:15 +0200
commitaf8c5ead9ac4c1ece3408b74224e5e273b6994ce (patch)
treed9c9664482986db0dddc61162b7333423b83552d /redhat/buildall-sru.sh
parentb37979af4377217fab5410f31f2a81b2b7e08910 (diff)
downloadtde-packaging-af8c5ead9ac4c1ece3408b74224e5e273b6994ce.tar.gz
tde-packaging-af8c5ead9ac4c1ece3408b74224e5e273b6994ce.zip
RPM Packaging: update build scripts
Diffstat (limited to 'redhat/buildall-sru.sh')
-rwxr-xr-xredhat/buildall-sru.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/redhat/buildall-sru.sh b/redhat/buildall-sru.sh
index b8c66dbca..a1c095e71 100755
--- a/redhat/buildall-sru.sh
+++ b/redhat/buildall-sru.sh
@@ -14,8 +14,9 @@ if [ -x /usr/sbin/urpmi ]; then
REPOUPDATE='(cd $(rpm -E %{_rpmdir}); genhdlist2 --clean --allow-empty noarch; genhdlist2 --clean --allow-empty $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)'
elif [ -x /usr/bin/zypper ]; then
PKGMGR="zypper"
- PKGINST="zypper install -y"
- PKGDEL="zypper remove -y"
+ PKGINST="sudo zypper install -y"
+ PKGDEL="sudo zypper remove -y"
+ REPOUPDATE='(cd $(rpm -E %{_rpmdir}); createrepo $(uname -i); createrepo noarch; sudo zypper refresh)'
elif [ -x /usr/bin/yum ]; then
PKGMGR="yum"
PKGINST='sudo yum install -y'
@@ -190,7 +191,9 @@ grpiui applications/konversation
grpiui applications/kopete-otr
grpiui applications/kpicosim
grpiui applications/kpilot
+if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then
grpiui applications/kpowersave
+fi
grpiui applications/krename
grpiui applications/krusader
grpiui applications/ksplash-engine-moodin
@@ -226,9 +229,14 @@ grpiui applications/yakuake
eval ${PKGINST} trinity-desktop-applications
# Decoration-related stuff are distribution-dependant.
+if [ "${DIST}" != ".el4" ] && [ "${DIST}" != ".el5" ]; then
grpiui applications/gtk-qt-engine
grpiui applications/kgtk-qt3
+fi
+eval ${PKGINST} trinity-desktop-all
+
+exit 0
# Build extra packages
grpiui extras/icons-crystalsvg-updated
@@ -261,4 +269,3 @@ grpiui extras/style-ia-ora
#grpiui extras/twinkle
#eval ${PKGINST} trinity-desktop-extras
-eval ${PKGINST} trinity-desktop-all