From 51c41dfd8839a0bf3ed8398d79926e94ba998724 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Sun, 15 Jan 2017 14:13:45 +0100 Subject: [PATCH] Remove unneeded setup code for the snap application --- scripts/snap-wrapper.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/snap-wrapper.sh b/scripts/snap-wrapper.sh index 9baec31..a7b4fd7 100755 --- a/scripts/snap-wrapper.sh +++ b/scripts/snap-wrapper.sh @@ -29,13 +29,4 @@ export LIBGL_DRIVERS_PATH=$SNAP/usr/lib/$ARCH/dri # ensure the snappy gl libs win export LD_LIBRARY_PATH="$SNAP_LIBRARY_PATH:$LD_LIBRARY_PATH" -cd $SNAP - -if [ "$(id -u)" == "0" ] ; then - # Make sure our setup path for the container rootfs - # is present as lxc is statically configured for - # this path. - mkdir -p $SNAP_COMMON/lxc -fi - exec $SNAP/usr/bin/anbox $@