Kaydet (Commit) 6bc88d1f authored tarafından Your Name's avatar Your Name

fix debian target

üst e0106982
......@@ -12,7 +12,7 @@ write_kv_pair() {
for val in "$@"; do
if [[ $val = *$'\n'* ]]; then
error "$(gettext "Invalid value for %s: %s")" "$key" "$val"
error "Invalid value for $key $val"
exit $E_PKGBUILD_ERROR
fi
printf "%s = %s\n" "$key" "$val"
......
......@@ -9,12 +9,13 @@ notnull $priority && echo -e "Priority: $priority"
echo -e "Architecture: $arch"
echo -e "Maintainer: $maintainer <$email>"
echo -e "Installed-Size: $(du -s $INSTALLDIR | cut -f 1)"
notnull "$depends" && { echo -ne "Depends:"
for dep in ${depends[@]}
do
if [ "${#depends[@]}" -gt 0 ] ; then
echo -ne "Depends:"
for dep in ${depends[@]}
do
echo -ne " $dep,"
done | sed "s/,$//g" ; echo
}
done | sed "s/,$//g" ; echo
fi
echo -e "Homepage: $homepage"
echo -e "Date: $(date +'%d/%m/%Y-%H:%M:%S')"
echo -e "Description: $description\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment