Refactor init_profiles to target user's home #665

Closed
ghost wants to merge 0 commits from linux-aarhus-master-patch-47107 into master
ghost commented 2022-05-29 04:24:52 +00:00 (Migrated from gitlab2.manjaro.org)

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

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
ghost commented 2022-05-29 04:26:04 +00:00 (Migrated from gitlab2.manjaro.org)

changed the description

changed the description
ghost commented 2022-05-29 04:27:30 +00:00 (Migrated from gitlab2.manjaro.org)

changed the description

changed the description
ghost commented 2022-05-29 04:31:21 +00:00 (Migrated from gitlab2.manjaro.org)

added 1 commit

  • 32872ed1 - Point user to $HOME/iso-profiles

Compare with previous version

added 1 commit <ul><li>32872ed1 - Point user to $HOME/iso-profiles</li></ul> [Compare with previous version](/tools/development-tools/manjaro-tools/-/merge_requests/317/diffs?diff_id=2836&start_sha=2f5fb6bb6948aec600b98d33605984ec154723a6)
ghost commented 2022-05-29 04:46:46 +00:00 (Migrated from gitlab2.manjaro.org)

added 1 commit

  • 3d08ea54 - Refactor rmmove prompt

Compare with previous version

added 1 commit <ul><li>3d08ea54 - Refactor rmmove prompt</li></ul> [Compare with previous version](/tools/development-tools/manjaro-tools/-/merge_requests/317/diffs?diff_id=2838&start_sha=32872ed1f78fcfe9ddf7f6715b82578adb34ec54)
Ghost (Migrated from gitlab2.manjaro.org) closed this pull request 2022-08-18 08:57:54 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tools/manjaro-tools!665
No description provided.