Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Seed localsend settings ONCE. Kept out of the dotfiles tree: localsend rewrites
|
||||
# this file at runtime (it regenerates the SSL keys we stripped from the seed), so
|
||||
# re-applying dotfiles would clobber them. Deploy only if no config exists yet.
|
||||
SEED="$REPO_ROOT/03-user/seed/localsend-shared_preferences.json"
|
||||
DST="$HOME/.local/share/org.localsend.localsend_app/shared_preferences.json"
|
||||
|
||||
if [ -f "$DST" ]; then
|
||||
info "localsend config already present — leaving it untouched"
|
||||
elif [ -f "$SEED" ]; then
|
||||
install -Dm644 "$SEED" "$DST"
|
||||
info "seeded localsend settings (SSL keys regenerate on first launch)"
|
||||
fi
|
||||
Reference in New Issue
Block a user