您最多选择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"
|