File: install.sh

package info (click to toggle)
lio-utils 3.1%2Bgit2.fd0b34fd-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 992 kB
  • sloc: ansic: 7,031; python: 3,039; perl: 885; sh: 414; makefile: 118
file content (13 lines) | stat: -rwxr-xr-x 322 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

SITE_PACKAGES=`python ../get-py-modules-path.py`

chmod a+x $SITE_PACKAGES/lio_dump.py
chmod a+x $SITE_PACKAGES/lio_node.py

if [ ! -f /usr/sbin/lio_dump ]; then
	ln -s $SITE_PACKAGES/lio_dump.py /usr/sbin/lio_dump
fi
if [ ! -f /usr/sbin/lio_node ]; then
	ln -s $SITE_PACKAGES/lio_node.py /usr/sbin/lio_node
fi