mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-30 05:25:35 +00:00
11 lines
343 B
Plaintext
11 lines
343 B
Plaintext
|
exec >&2
|
||
|
dir=${1%/*}
|
||
|
redo-ifchange "$S/$dir/package" "$S/oss/version/short.txt"
|
||
|
read -r package <"$S/$dir/package"
|
||
|
read -r version <"$S/oss/version/short.txt"
|
||
|
arch=$(dpkg --print-architecture)
|
||
|
|
||
|
redo-ifchange "$dir/${package}_$arch.deb"
|
||
|
rm -f "$dir/${package}"_*_"$arch.deb"
|
||
|
ln -sf "${package}_$arch.deb" "$dir/${package}_${version}_$arch.deb"
|