Skip to content

Refactor init_profiles to target user's home

Ghost User requested to merge (removed):linux-aarhus-master-patch-47107 into master

The current location in /usr/share/manjaro-tools/iso-profiles is not writable - thus a user still needs to copy the profiles to a writable location.

The location may also be prone to update errors if the user has not installed the profiles package but later decides to do so.

This commit changes the behavior.

  • Check if $HOME/iso-profiles exist
  • Warn of removal before clone - offer the choice to exit
  • Clones the repo
  • Create ~/.config/manjaro-tools
  • Create/Update ~/.config/manjaro-tools/iso-profiles.conf with run_dir set.

@philm @oberon

Edited by Ghost User

Merge request reports