Merge lp:~townsend/libertine/copy-user-data into lp:libertine

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 159
Merged at revision: 159
Proposed branch: lp:~townsend/libertine/copy-user-data
Merge into: lp:libertine
Diff against target: 15 lines (+2/-2)
1 file modified
data/puritine-click.conf (+2/-2)
To merge this branch: bzr merge lp:~townsend/libertine/copy-user-data
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Libertine CI Bot continuous-integration Approve
Review via email: mp+283182@code.launchpad.net

Commit message

Instead of just creating the user-data dir, we should actually copy the contents of the click package's user-data in case there are things in it we need.

To post a comment you must log in.
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Stephen M. Webb (bregma) wrote :

OK

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/puritine-click.conf'
2--- data/puritine-click.conf 2015-12-08 21:27:10 +0000
3+++ data/puritine-click.conf 2016-01-19 17:01:09 +0000
4@@ -20,9 +20,9 @@
5 ln -s $PACKAGE_PATH/libertine-config/libertine/ContainersConfig.json $HOME/.local/share/libertine/ContainersConfig.json
6 fi
7
8- # Create the user-data dir
9+ # Create and copy the user-data dir from the click package
10 if [ ! -d $HOME/.local/share/libertine-container/user-data/$CONTAINER_NAME ] ; then
11- mkdir -p $HOME/.local/share/libertine-container/user-data/$CONTAINER_NAME/
12+ cp -dR $PACKAGE_PATH/libertine-config/libertine-container/ $HOME/.local/share/libertine-container/
13 fi
14 else
15 rm -rf $HOME/.cache/libertine-container/$CONTAINER_NAME

Subscribers

People subscribed via source and target branches