您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
12 行
470 B
Bash
12 行
470 B
Bash
#!/bin/bash
|
|
# $1 is the binary location, $2 is the arch, $3 is the svg icon
|
|
mkdir out
|
|
sed -i '/Architecture:/d' debian/DEBIAN/control
|
|
echo "Architecture: $2" >> debian/DEBIAN/control
|
|
rm -rf debian/usr/lib/helpinghelena-desktop
|
|
mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
|
|
mkdir -p debian/usr/lib
|
|
rsync -rv "$1" debian/usr/lib/helpinghelena-desktop
|
|
cp "$3" debian/usr/lib/helpinghelena-desktop/logo.svg
|
|
dpkg-deb -b debian "out/helpinghelena-desktop_$2.deb"
|