- add install.sh script

- install all scripts with proper permissions (755)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@835 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
striper
2010-10-12 16:18:11 +00:00
parent 5f8ffafe15
commit acad94fb84
2 changed files with 22 additions and 8 deletions

11
data/scripts/install.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
# 1st arg is dir where unpack, $2 file to be installed
cd $1
tar zxvf $2
./temp_inst/ctrl/preinstall.sh $PWD
cp -a ./temp_inst/inst/* /
./temp_inst/ctrl/postinstall.sh $PWD
rm -rf temp_inst
exit 0