Rename config script

This commit is contained in:
Manuel Thalmann 2024-11-01 00:38:33 +01:00
parent 3291928a11
commit 1ba4113e56
12 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,7 @@
#!/bin/env fish
set -l dir (status dirname)
set -l cmdline (cat /proc/$fish_pid/cmdline | string split0)
source "$dir/../Scripts/config.fish"
source "$dir/../Scripts/settings.fish"
source "$dir/../Scripts/hooks.fish"
if [ (id -u) -eq 0 ]
@ -79,7 +79,7 @@ else
runHook initializeUsers || begin
if [ -n "$deployScript" ]
source "$dir/../Scripts/config.fish"
source "$dir/../Scripts/settings.fish"
for name in (getUsers | jq '.[]' --raw-output0 | string split0)
echo "Configuring user `$name`..."

View file

@ -1,7 +1,7 @@
#!/bin/env fish
function runSetup
set -l dir (status dirname)
source "$dir/../Scripts/config.fish"
source "$dir/../Scripts/settings.fish"
source "$dir/../Scripts/hooks.fish"
if [ -z "$CONFIG_NAME" ]

View file

@ -1,6 +1,6 @@
#!/bin/env fish
set -l dir (status dirname)
source "$dir/../Scripts/config.fish"
source "$dir/../Scripts/settings.fish"
set -l users (getUsers)
echo "Creating users..."