Ubuntu Pastebin

Paste from Matteo Croce at Fri, 17 Jun 2016 13:31:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -e

# snap info
export SNAP="/snap/htop/17"
export SNAP_DATA="/var/snap/htop/17"
export SNAP_NAME="htop"
export SNAP_VERSION="2.0.1"
export SNAP_REVISION="17"
export SNAP_ARCH="i386"
export SNAP_LIBRARY_PATH="/var/lib/snapd/lib/gl:"
export SNAP_USER_DATA="$HOME/snap/htop/17"

if [ ! -d "$SNAP_USER_DATA" ]; then
   mkdir -p "$SNAP_USER_DATA"
fi
export HOME="$SNAP_USER_DATA"

# Snap name is: htop
# App name is: htop

/usr/bin/ubuntu-core-launcher snap.htop.htop snap.htop.htop /snap/htop/17/command-htop.wrapper "$@"
Download as text