package upgrade and update for pacman

This commit is contained in:
Bruno Tavares 2014-03-20 18:37:21 -03:00
parent 884a7fd143
commit d8ba5cbb59
2 changed files with 33 additions and 3 deletions

View File

@ -1,5 +1,19 @@
kickstart.package.update() {
kickstart.mute `kickstart.package.manager` update -y
kickstart.package.update.`kickstart.package.manager`
}
kickstart.package.update.apt-get() {
kickstart.mute apt-get update -y
}
kickstart.package.update.brew() {
kickstart.mute brew update -y
}
kickstart.package.update.yum() {
kickstart.mute yum update -y
}
kickstart.package.update.pacman() {
kickstart.mute pacman -Sy --noconfirm
}

View File

@ -1,3 +1,19 @@
kickstart.package.upgrade() {
kickstart.mute `kickstart.package.manager` upgrade -y
kickstart.package.upgrade.`kickstart.package.manager`
}
kickstart.package.upgrade.apt-get() {
kickstart.mute apt-get upgrade -y
}
kickstart.package.upgrade.brew() {
kickstart.mute brew upgrade -y
}
kickstart.package.upgrade.yum() {
kickstart.mute yum upgrade -y
}
kickstart.package.upgrade.pacman() {
kickstart.mute pacman -Suy --noconfirm
}