diff options
-rw-r--r-- | src/index.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/index.sh b/src/index.sh index ebb348e..addbbda 100644 --- a/src/index.sh +++ b/src/index.sh @@ -20,6 +20,25 @@ # along with the ProteanOS Archive Manager. If not, see # <http://www.gnu.org/licenses/>. +feed_sign() +{ + local feed_idx="${1}" + shift 1 + local usign= + + if [ x"${conf_key}" = x'' ]; then + return + fi + + if ${in_place} && ${USIGN_EMBEDDED}; then + usign="${builddir}/3rdparty/usign/usign" + else + usign="${USIGN}" + fi + + "${usign}" -S -m "${feed_idx}" -s "${conf_key}" +} + feed_add_package() { local chan="${1}" |