The source project of this merge request has been removed.
Refactor init_profiles to target user's home
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.
Edited by Ghost User