Update the toolchain components to the latest version
[kernel-tools.git] / metapackages / build-metapackages.sh
index e2a0078ca2b07cff80ecc5c455959001bd197d19..644ae4f5ad38a5830caf5f53076bbb06ac111630 100755 (executable)
@@ -1,6 +1,20 @@
 #!/bin/bash
 set -euo pipefail
-set -x
+#set -x
+
+# You can redistribute and/or modify this file under the terms of the
+# GNU Affero General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public
+# License along with this program. If not, see
+# <https://www.gnu.org/licenses/>.
 
 # SPDX-FileCopyrightText: 2022 Jason Self <j@jxself.org>
 # SPDX-License-Identifier: AGPL-3.0-or-later
@@ -17,8 +31,7 @@ do
     :
     for keyfile in keys/*.asc
     do
-        rm -f $package/usr/share/keyrings/$package.gpg
-        gpg --verbose --no-default-keyring --keyring $package/usr/share/keyrings/$package.gpg --import $keyfile || true
+        gpg --verbose --no-default-keyring --keyring $package/usr/share/keyrings/$package.gpg --import $keyfile || gpg --no-default-keyring --keyring $package/usr/share/keyrings/$package.gpg --import $keyfile
     done
     dpkg-deb --root-owner-group -b $package
 done
\ No newline at end of file