Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commit e471bc6911e5b95f7f27659b6a4d9544697137b8
- Author: Thomas Debesse <dev@illwieckz.net>
- Date: Fri Oct 9 01:46:58 2020 +0200
- sudosetx
- diff --git a/bootstrap-orbit.sh b/bootstrap-orbit.sh
- index 975c4dd3..c2ce6399 100755
- --- a/bootstrap-orbit.sh
- +++ b/bootstrap-orbit.sh
- @@ -29,16 +29,25 @@ readonly REQUIRED_PACKAGES=( build-essential libglu1-mesa-dev mesa-common-dev \
- libqt5websockets5-dev libxxf86vm-dev python3-pip )
- function add_ubuntu_universe_repo {
- - sudo add-apt-repository universe
- - if [ $? -ne 0 ]; then
- - sudo apt-get install -y software-properties-common
- + (
- + set -x
- sudo add-apt-repository universe
- + )
- + if [ $? -ne 0 ]; then
- + (
- + set -x
- + sudo apt-get install -y software-properties-common
- + sudo add-apt-repository universe
- + )
- fi
- }
- function install_required_packages {
- - sudo apt-get update || exit $?
- - sudo apt-get install -y ${REQUIRED_PACKAGES[@]} || exit $?
- + (
- + set -x
- + sudo apt-get update || exit $?
- + sudo apt-get install -y ${REQUIRED_PACKAGES[@]} || exit $?
- + ) || exit $?
- }
Add Comment
Please, Sign In to add comment