Skip to content

Commit

Permalink
Merge pull request IntelRealSense#11 from 130s/installscript_cp10/por_d
Browse files Browse the repository at this point in the history
[dep install script] 1) cherry-pick IntelRealSense#10, 2) Fix bash issues
  • Loading branch information
130s authored Jan 8, 2019
2 parents 7268ae5 + f88fa10 commit a854483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .install_dependency.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
# Codes taken from https://github.com/intel-ros/realsense/blob/c5ea27245967e0938f7d10384f4b7279e01000b4/.travis.yml
# When used on CI sudo is not usually needed but it is most likely needed when used on your local computer.

echo 'deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main' || sudo tee /etc/apt/sources.list.d/realsense-public.list
add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main"
COMMAND="deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo $(lsb_release -sc) main"
echo $COMMAND | tee /etc/apt/sources.list.d/realsense-public.list
add-apt-repository "$COMMAND"
apt-get update -qq
apt-get install librealsense2-dkms --allow-unauthenticated -y
apt-get install librealsense2-dev --allow-unauthenticated -y
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: xenial

# - git clone -v --progress https://github.com/doronhi/realsense.git # This is Done automatically by TravisCI
before_install:
- ./.install_dependency.sh
- sudo ./.install_dependency.sh

install:
# install ROS:
Expand Down

0 comments on commit a854483

Please sign in to comment.