Remove unquote for mute
This commit is contained in:
parent
bd14b8d5a8
commit
f3aae7bd7b
@ -23,7 +23,7 @@ kickstart.context() {
|
||||
|
||||
kickstart.mute() {
|
||||
kickstart.info "Running \"$@\""
|
||||
`$@ >/dev/null 2>&1`
|
||||
`"$@" >/dev/null 2>&1`
|
||||
return $?
|
||||
}
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
kickstart.apt.ppa() {
|
||||
kickstart.mute "add-apt-repository -y $1"
|
||||
kickstart.mute add-apt-repository -y $1
|
||||
kickstart.package.update
|
||||
}
|
||||
|
||||
kickstart.apt.add_key_from_url() {
|
||||
kickstart.download.stream $1 | kickstart.mute 'apt-key add -'
|
||||
kickstart.download.stream $1 | kickstart.mute apt-key add -
|
||||
}
|
||||
|
||||
kickstart.apt.add_key_from_keychain() {
|
||||
kickstart.mute "apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv $1"
|
||||
kickstart.mute apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv $1
|
||||
}
|
||||
|
@ -15,14 +15,14 @@ kickstart.package.install() {
|
||||
kickstart.info "$@ already installed"
|
||||
else
|
||||
kickstart.info "No packages found matching $@. Installing..."
|
||||
kickstart.mute "`kickstart.package.manager` install -y $@"
|
||||
kickstart.mute `kickstart.package.manager` install -y "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
kickstart.package.update() {
|
||||
kickstart.mute "`kickstart.package.manager` update -y"
|
||||
kickstart.mute `kickstart.package.manager` update -y
|
||||
}
|
||||
|
||||
kickstart.package.upgrade() {
|
||||
kickstart.mute "`kickstart.package.manager` upgrade -y"
|
||||
kickstart.mute `kickstart.package.manager` upgrade -y
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
kickstart.user.create() {
|
||||
kickstart.mute "id $1" || ( useradd -m -s /bin/bash -U -p `openssl passwd -1 $2` $1 )
|
||||
kickstart.mute id $1 || ( useradd -m -s /bin/bash -U -p `openssl passwd -1 $2` $1 )
|
||||
}
|
||||
|
||||
kickstart.user.is_on_group() {
|
||||
|
Loading…
Reference in New Issue
Block a user