summaryrefslogtreecommitdiffstats
path: root/packaging/default_files/install.sh
diff options
context:
space:
mode:
authorFelix Endres2006-04-26 22:12:12 +0200
committerFelix Endres2006-04-26 22:12:12 +0200
commitc5846f39e8c0edf8d5b555fa969c8633e6d0380e (patch)
tree90064184dc6cbc27d8a5bb847880609755d04c86 /packaging/default_files/install.sh
parentchanges: cp defaultwm to /varX11R6/bin (diff)
downloadcore-c5846f39e8c0edf8d5b555fa969c8633e6d0380e.tar.gz
core-c5846f39e8c0edf8d5b555fa969c8633e6d0380e.tar.xz
core-c5846f39e8c0edf8d5b555fa969c8633e6d0380e.zip
Automated packaging to tar.gz with installer and deinstaller
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@199 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'packaging/default_files/install.sh')
-rwxr-xr-xpackaging/default_files/install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/default_files/install.sh b/packaging/default_files/install.sh
new file mode 100755
index 00000000..cb090fa7
--- /dev/null
+++ b/packaging/default_files/install.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+if [ "$EUID" -ne 0 ]; then
+ echo "You need to start this installer as user root"
+ exit
+fi
+
+cp -Rv dxs /usr/share/
+cp -v man/* /usr/share/man/man1/
+#Create links to provide the scripts to the user
+pushd /usr/sbin > /dev/null
+ln -vs ../share/dxs/installer/ld4-inst
+ln -vs ../share/dxs/initrd/mkdxsinitrd
+popd > /dev/null
+echo "Done."