mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 14:30:39 +01:00
create-mkdebian.sh: Code beautification
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
674d467dd2
commit
9430be3109
1 changed files with 5 additions and 5 deletions
|
|
@ -6,10 +6,10 @@ inifile=$1
|
||||||
. $dir/ini-tools.sh
|
. $dir/ini-tools.sh
|
||||||
|
|
||||||
cat << EOT
|
cat << EOT
|
||||||
#format_depends()
|
format_depends()
|
||||||
#{
|
{
|
||||||
# sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,/,/g'
|
sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,*/,/g; s/, *$//'
|
||||||
#}
|
}
|
||||||
|
|
||||||
changelog()
|
changelog()
|
||||||
{
|
{
|
||||||
|
|
@ -41,7 +41,7 @@ Build-Depends: debhelper (>= 9)
|
||||||
|
|
||||||
Package: \$NAME-run
|
Package: \$NAME-run
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: `echo \${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN, \$REQUIRES_DEVEL | sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,*/,/g; s/, *$//'`
|
Depends: `echo "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN, \$REQUIRES_DEVEL" | format_depends`
|
||||||
Description: `ini_value summary`
|
Description: `ini_value summary`
|
||||||
`ini_value description | sed 's/^/ /'`
|
`ini_value description | sed 's/^/ /'`
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue