summaryrefslogtreecommitdiffstats
path: root/packaging/dpkg/default_files/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dpkg/default_files/install.sh')
-rwxr-xr-xpackaging/dpkg/default_files/install.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/packaging/dpkg/default_files/install.sh b/packaging/dpkg/default_files/install.sh
new file mode 100755
index 00000000..cb090fa7
--- /dev/null
+++ b/packaging/dpkg/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."