mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
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
Origin commit data
------------------
Branch: ni/coolstream
Commit: acad94fb84
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2010-10-12 (Tue, 12 Oct 2010)
Origin message was:
------------------
- 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 was generated by Migit
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# FIXME!
|
||||
#
|
||||
#installdir = $(BINDIR)
|
||||
#
|
||||
#install_DATA = \
|
||||
# backup.sh \
|
||||
# restore.sh
|
||||
#
|
||||
installdir = $(DESTDIR)$(bindir)
|
||||
|
||||
install_DATA = \
|
||||
backup.sh \
|
||||
restore.sh \
|
||||
install.sh
|
||||
|
||||
install-data-hook:
|
||||
chmod 0755 $(DESTDIR)$(bindir)/backup.sh
|
||||
chmod 0755 $(DESTDIR)$(bindir)/restore.sh
|
||||
chmod 0755 $(DESTDIR)$(bindir)/install.sh
|
11
data/scripts/install.sh
Executable file
11
data/scripts/install.sh
Executable 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
|
||||
|
Reference in New Issue
Block a user