summaryrefslogtreecommitdiff
path: root/control.sh
blob: 3d808bf8ddaab49528b97a31db3292d6e1ddc459 (plain)
1
2
3
4
5
6
#!/bin/bash
src=$1
dir=$2
dir=${dir:=_}
sed -e "s@^\(Version:\).*@\1 $(./version.sh)@" "${src}"
echo "Installed-Size: $(du -s "${dir}" | cut -f 1)"