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