diff options
Diffstat (limited to 'control.sh')
-rwxr-xr-x | control.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/control.sh b/control.sh new file mode 100755 index 0000000..537cb66 --- /dev/null +++ b/control.sh @@ -0,0 +1,5 @@ +#!/bin/bash +dir=$1 +dir=${dir:=_} +sed -e "s@^\(Version:\).*@\1 $(./version.sh)@" control +echo "Installed-Size: $(du -s "${dir}" | cut -f 1)" |