Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use uuidgen for new profiles instead of setting an arbitrary one
  • Loading branch information
aruhier committed Jun 3, 2014
2 parents ff1e664 + 2d6f657 commit 1a31253
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ validate_scheme() {
}

create_new_profile() {
# b1dcc9dd-5262-4d8d-a863-c897e6d979b9 is totally abitrary, I took my
# profile id
profile_id="b1dcc9dd-5262-4d8d-a863-c897e6d979b9"
profile_id="$(uuidgen)"
dconf write $dconfdir/default "'$profile_id'"
dconf write $dconfdir/list "['$profile_id']"
profile_dir="$dconfdir/:$profile_id"
Expand Down

0 comments on commit 1a31253

Please sign in to comment.