mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-19 21:10:07 -07:00
766e5d7089
kiss-repodepends did not honour the user's KISS_PATH and outputted the last path it found. If the user has the package installed, the last path will always be the system database, which defeats the whole purpose of "repodepends". This patch will use the first path it finds, which will be the user's preferred repository in the KISS_PATH. Signed-off-by: Dylan Araps <dylan.araps@gmail.com>
6 lines
82 B
Bash
Executable File
6 lines
82 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# kiss-repodepends
|
|
|
|
cat "$(kiss s "$1" | sed 1q)/depends" 2>/dev/null
|