File: install.sh

package info (click to toggle)
mindi 0.58.r5-1woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,744 kB
  • ctags: 68
  • sloc: sh: 1,759; makefile: 40
file content (13 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

if [ ! -f "mindi" ] ; then
    echo "Please 'cd' to the directory you have just untarred." >> /dev/stderr
    exit 1
fi
mkdir -p /usr/local/share/mindi
mkdir -p /usr/local/sbin
cp --parents -rdf * /usr/local/share/mindi/
ln -sf /usr/local/share/mindi/mindi /usr/local/sbin/