summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <omega@omg-lin.(none)>2009-10-20 13:31:15 +0200
committeromega <omega@omg-lin.(none)>2009-10-20 13:31:15 +0200
commit6640a69a3b4898cceaa7820fe3d768d94c8a119b (patch)
tree886b5d8933278cd555f1a1fd3ef43972149c7119
parent040389069d227fb5ca2a91b802736243f9d26e9c (diff)
downloadscripts-6640a69a3b4898cceaa7820fe3d768d94c8a119b.tar.gz
scripts-6640a69a3b4898cceaa7820fe3d768d94c8a119b.tar.bz2
Fixed check-dep option
-rwxr-xr-xgit-compiz22
1 files changed, 11 insertions, 11 deletions
diff --git a/git-compiz b/git-compiz
index 29dde0d..1e248ab 100755
--- a/git-compiz
+++ b/git-compiz
@@ -130,31 +130,31 @@ exit 1
check_distro_dependencies()
{
case `lsb_release -cs` in
- sid) sudo aptitude update && sudo aptitude -y install $sid_check_dep
+ sid) sudo aptitude update ; sudo aptitude -y install $sid_check_dep
;;
- lenny) sudo aptitude update && sudo aptitude -y install $lenny_check_dep
+ lenny) sudo aptitude update ; sudo aptitude -y install $lenny_check_dep
;;
- gutsy) sudo aptitude update && sudo aptitude -y install $gutsy_check_dep
+ gutsy) sudo aptitude update ; sudo aptitude -y install $gutsy_check_dep
;;
- hardy) sudo aptitude update && sudo aptitude -y install $hardy_check_dep
+ hardy) sudo aptitude update ; sudo aptitude -y install $hardy_check_dep
;;
- intrepid) sudo aptitude update && sudo aptitude -y install $intrepid_check_dep
+ intrepid) sudo aptitude update ; sudo aptitude -y install $intrepid_check_dep
;;
- jaunty) sudo aptitude update && sudo aptitude -y install $jaunty_check_dep
+ jaunty) sudo aptitude update ; sudo aptitude -y install $jaunty_check_dep
;;
- karmic) sudo aptitude update && sudo aptitude -y install $karmic_check_dep
+ karmic) sudo aptitude update ; sudo aptitude -y install $karmic_check_dep
;;
*)
if [ -f /etc/SuSE-release ]; then
- su -c "zypper ref && zypper in $suse_check_dep"
+ 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"
+ 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"
+ su -c "slapt-get update ; slapt-get install $slackware_check_dep"
elif [ -f /etc/arch-release ]; then
su -c "pacman -Sy $arch_check_dep"
elif [ -f /etc/mandriva-release ]; then
- su -c "urpmi.update -a && urpmi $mandriva_check_dep"
+ su -c "urpmi.update -a ; urpmi $mandriva_check_dep"
else
echo $ERROR_CHECK_DEP_1
fi