mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +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
|
||||
|
||||
cat << EOT
|
||||
#format_depends()
|
||||
#{
|
||||
# sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,/,/g'
|
||||
#}
|
||||
format_depends()
|
||||
{
|
||||
sed 's/ */,/g; s/,\([><=]\+\),*/\1/g; s/, *,*/,/g; s/, *$//'
|
||||
}
|
||||
|
||||
changelog()
|
||||
{
|
||||
|
|
@ -41,7 +41,7 @@ Build-Depends: debhelper (>= 9)
|
|||
|
||||
Package: \$NAME-run
|
||||
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`
|
||||
`ini_value description | sed 's/^/ /'`
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue