We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dcf114 commit 651a234Copy full SHA for 651a234
deb-get
@@ -213,12 +213,11 @@ function install_apt() {
213
}
214
215
function install_ppa() {
216
- local AAR_PARAMS
217
- AAR_PARAMS="-y"
218
- if [ $(dpkg -S $(command -v apt-add-repository)|cut -d: -f1) == "software-properties-common" ] ; then
219
- AAR_PARAMS+=" --no-update";
+ local AAR_PARAMS="-y"
+ if [ "$(dpkg -S "$(command -v apt-add-repository)" | cut -d':' -f1)" == "software-properties-common" ]; then
+ AAR_PARAMS+=" --no-update"
220
fi
221
- if ${ELEVATE} apt-add-repository $AAR_PARAMS "${PPA}"; then
+ if ${ELEVATE} apt-add-repository ${AAR_PARAMS} "${PPA}"; then
222
update_apt
223
if ! package_is_installed "${APP}"; then
224
eula
0 commit comments