aboutsummaryrefslogtreecommitdiff
path: root/system_install
diff options
context:
space:
mode:
Diffstat (limited to 'system_install')
-rwxr-xr-xsystem_install51
1 files changed, 0 insertions, 51 deletions
diff --git a/system_install b/system_install
deleted file mode 100755
index 69dbac7..0000000
--- a/system_install
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-if [ "$UID" -ne 0 ]; then
- echo "Please run this as root!" >&2
- exit 6
-fi
-
-cd `dirname $0`
-
-git submodule update --init || (echo "Submodule update failed!"; exit 5)
-
-# Source inst and diff function
-. ./utils/inst
-
-# Load if we force changes (implies no interaction)
-[ "$1" = "-f" ] && FORCE=true || FORCE=false
-
-#################################################################################
-
-if [ -e /etc/arch-release ]; then
- . ./utils/arch
- read -p "Check Archlinux packages? (Y/n) "
- if [[ $REPLY =~ ^[Yy]?$ ]]; then
- archlinux_inst
- fi
-fi
-
-if ask "Laptop ACPI and pm"; then
- inst system/etc/acpi/handler.sh /etc/acpi/handler.sh
- inst system/etc/pm/sleep.d/10lock /etc/pm/sleep.d/10lock
-fi
-
-if ask "System PATH profile"; then
- inst system/etc/profile.d/path.sh /etc/profile.d/path.sh
-fi
-
-if ask "X11 configuration"; then
- inst system/etc/X11/ /etc/X11/
-fi
-
-if ask "System-wide PulseAudio configuration"; then
- inst system/etc/pulse/ /etc/pulse/
-fi
-
-if ask "Wpa supplicant"; then
- # TODO
- true
-fi
-
-# As final step just ensure that correct user is owning system files
-chown -R $(stat -c "%U:%G" "$0") system