File: install

package info (click to toggle)
tor-arm 1.4.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,608 kB
  • ctags: 1,943
  • sloc: python: 15,974; xml: 1,207; sh: 43; ansic: 10; makefile: 6
file content (15 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
python src/prereq.py

if [ $? = 0 ]; then
  python setup.py -q install
  
  # provide notice if we installed successfully
  if [ $? = 0 ]; then
    echo "installed to /usr/share/arm"
  fi
  
  # cleans up the automatically built temporary files
  rm -rf ./build
fi