Skip to content

Commit 92e607d

Browse files
committed
Add hook to test for snap connections
Signed-off-by: Nicolas Bock <[email protected]>
1 parent 2df7594 commit 92e607d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

snap/hooks/configure

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -e -u
4+
5+
if ! snapctl is-connected docker-executables; then
6+
echo "Please run"
7+
echo
8+
echo "snap connect ebuildtester:docker-executables docker:docker-executables"
9+
echo
10+
echo "in order to use the ebuildtester command."
11+
fi

0 commit comments

Comments
 (0)