summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <marco.biasco@gmail.com>2009-06-27 17:47:59 +0200
committeromega <marco.biasco@gmail.com>2009-06-27 17:47:59 +0200
commit0ff545ebc17b2501291b2eb454b3308f87210561 (patch)
tree603d8cffd083b9be5e934a512a2072ef76ce217a
parente29caaca6223e8faf607b66e7720195afa1b203a (diff)
downloadscripts-0ff545ebc17b2501291b2eb454b3308f87210561.tar.gz
scripts-0ff545ebc17b2501291b2eb454b3308f87210561.tar.bz2
Fixed check fedora
-rwxr-xr-xgit-compiz4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-compiz b/git-compiz
index c8d50b6..c9f8959 100755
--- a/git-compiz
+++ b/git-compiz
@@ -140,11 +140,11 @@ case `lsb_release -cs` in
;;
karmic) sudo aptitude update && sudo aptitude -y install $karmic_check_dep
;;
- Werewolf|Sulphur|Cambridge|Leonidas) su -c "yum update && yum -y install $fedora_check_dep"
- ;;
*)
if [ -f /etc/SuSE-release ]; then
su -c "zypper ref && zypper in $suse_check_dep"
+ elif [ -f /etc/fedora-release ]; then
+ su -c "yum update && yum -y install $fedora_check_dep"
elif [ -f /etc/slackware-version ]; then
su -c "slapt-get update && slapt-get install $slackware_check_dep"
elif [ -f /etc/arch-release ]; then