summaryrefslogtreecommitdiffstats
path: root/ffxpi
diff options
context:
space:
mode:
Diffstat (limited to 'ffxpi')
-rwxr-xr-xffxpi12
1 files changed, 10 insertions, 2 deletions
diff --git a/ffxpi b/ffxpi
index 950c25a..5711caa 100755
--- a/ffxpi
+++ b/ffxpi
@@ -65,8 +65,16 @@ donexpi() {
tar cvjf /home/rpmbuild/SPECS/remirepo/firefox4/firefox-langpacks-trunk.tar.bz2 \
--exclude tmp firefox-langpacks
else
- echo "Création de /home/rpmbuild/SPECS/remirepo/firefox/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2"
- tar cvjf /home/rpmbuild/SPECS/remirepo/firefox4/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2 \
+ case $1 in
+ 5*) dest=firefox5
+ ;;
+ 4*) dest=firefox4
+ ;;
+ *) dest=firefox
+ ;;
+ esac
+ echo "Création de /home/rpmbuild/SPECS/remirepo/$dest/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2"
+ tar cvjf /home/rpmbuild/SPECS/remirepo/$dest/firefox-langpacks-$1-$(date +%Y%m%d).tar.bz2 \
--exclude tmp firefox-langpacks
fi
}