aboutsummaryrefslogtreecommitdiff
path: root/system_install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-16 10:00:19 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-16 10:00:19 +0100
commit8f68b86ef33a42c26a7f23adcf36b54d60d4fd98 (patch)
tree483f75f58b24227105b21cfdd989302b922bbc25 /system_install
parenteb3d4c9a3f469d80d5e6c9ae241caef17c1568a4 (diff)
downloadmyconfigs-8f68b86ef33a42c26a7f23adcf36b54d60d4fd98.tar.gz
myconfigs-8f68b86ef33a42c26a7f23adcf36b54d60d4fd98.tar.bz2
myconfigs-8f68b86ef33a42c26a7f23adcf36b54d60d4fd98.zip
system: remove as I am not using NixOS that provides this more easily
Diffstat (limited to 'system_install')
-rwxr-xr-xsystem_install38
1 files changed, 0 insertions, 38 deletions
diff --git a/system_install b/system_install
deleted file mode 100755
index c493de8..0000000
--- a/system_install
+++ /dev/null
@@ -1,38 +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 ask "sys-path" "System PATH profile"; then
- inst system/etc/profile.d/path.sh /etc/profile.d/path.sh
-fi
-
-if ask "sys-x11" "X11 configuration"; then
- inst system/etc/X11/ /etc/X11/
-fi
-
-if ask "sys-pulse" "System-wide PulseAudio configuration"; then
- inst system/etc/pulse/ /etc/pulse/
-fi
-
-if ask "sys-wpa" "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