This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a launcher wrapper to copy the config and certificates
- Loading branch information
Leo Arias
committed
Feb 11, 2017
1 parent
3c0632c
commit b6c798a
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
if [ ! -d "$SNAP_USER_DATA/.kovri" ]; then | ||
mkdir $SNAP_USER_DATA/.kovri/ | ||
cp -R $SNAP/config $SNAP_USER_DATA/.kovri/ | ||
cp -R $SNAP/client $SNAP_USER_DATA/.kovri/ | ||
fi | ||
|
||
exec "$SNAP/bin/kovri" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters