mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-27 15:13:23 +03:00
20 lines
290 B
Bash
Executable File
20 lines
290 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
set -euo pipefail
|
|
|
|
main() {
|
|
local package
|
|
|
|
for package in "${@}"; do
|
|
echo "Package: ${package}:${TARGET_ARCH}
|
|
Pin: release *
|
|
Pin-Priority: -1" > "/etc/apt/preferences.d/${package}"
|
|
echo "${package}"
|
|
done
|
|
|
|
rm "${0}"
|
|
}
|
|
|
|
main "${@}"
|