mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-26 10:03:18 +01:00
20 lines
320 B
Bash
Executable File
20 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
os="$1"
|
|
codename="$2"
|
|
|
|
detect_package_format() {
|
|
package_format=rpm
|
|
if ls builder/dockerfile*"$os"* | grep -q .deb.build; then
|
|
package_format=deb
|
|
fi
|
|
}
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
detect_package_format
|
|
builder/build-tarball "$os" "$codename"
|
|
builder/build-${package_format} "$os" "$codename"
|