summaryrefslogblamecommitdiff
path: root/user/command-not-found/explicit-apk-path.patch
blob: b99466b7578991543e0d9dbe9c061cb73a47255c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                   
--- command-not-found/command-not-found.sh.old	2017-11-30 04:52:39.000000000 +0000
+++ command-not-found/command-not-found.sh	2018-11-13 04:38:42.000000000 +0000
@@ -21,7 +21,7 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-results=$(apk search -xv "cmd:$1" 2>/dev/null)
+results=$(/sbin/apk search -xv "cmd:$1" 2>/dev/null)
 
 if [ "$results" ]; then
 	printf "The program '%s' may be found in these packages:\n" "$1" >&2