[Groonga-commit] groonga/groonga at 49fb2ac [use-trusted-gpg-d] packages apt: make symlink to the latest version

Back to archive index

Kentaro Hayashi null+****@clear*****
Sun Aug 12 23:45:04 JST 2018


Kentaro Hayashi	2018-08-12 23:45:04 +0900 (Sun, 12 Aug 2018)

  New Revision: 49fb2acde0a987d4bfb49b6a1f4b791ce0067b59
  https://github.com/groonga/groonga/commit/49fb2acde0a987d4bfb49b6a1f4b791ce0067b59

  Message:
    packages apt: make symlink to the latest version

  Modified files:
    packages/apt/build-deb.sh

  Modified: packages/apt/build-deb.sh (+6 -0)
===================================================================
--- packages/apt/build-deb.sh    2018-08-12 23:41:01 +0900 (1ee2547fd)
+++ packages/apt/build-deb.sh    2018-08-12 23:45:04 +0900 (e6a2eb0ce)
@@ -74,3 +74,9 @@ package_initial=$(echo "${PACKAGE}" | sed -e 's/\(.\).*/\1/')
 pool_dir="/vagrant/repositories/${distribution}/pool/${code_name}/${component}/${package_initial}/${PACKAGE}"
 run mkdir -p "${pool_dir}/"
 run cp *.tar.* *.dsc *.deb "${pool_dir}/"
+if [ "${PACKAGE}" = "groonga-keyring" ]; then
+  run cd "${pool_dir}"
+  ln -sf \
+    "${PACKAGE}_${VERSION}-1_all.deb" "${PACKAGE}-latest.deb"
+  run cd -
+fi
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180812/421439e4/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index