diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-04-29 23:11:29 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2014-04-29 23:11:29 +0800 |
commit | 56d7e921bf54aac8139505257f8bbcfb88e38341 (patch) | |
tree | ece61c8b8a99bc1eb6ebd192062a2db9af873e4c | |
parent | afe086648ac1df5f3828e67fa82c937920099aa2 (diff) | |
download | wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar.gz wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar.bz2 wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar.lz wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar.xz wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.tar.zst wspkg-56d7e921bf54aac8139505257f8bbcfb88e38341.zip |
debian: 自動用將日期填入版本號
-rwxr-xr-x | debian/debian.control.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/debian.control.sh b/debian/debian.control.sh index 01a176f..f3ccee0 100755 --- a/debian/debian.control.sh +++ b/debian/debian.control.sh @@ -26,6 +26,9 @@ IFS="${lineIFS}" while read -r control_line 0<&3; do case "${control_line}" in + "Version:"*) + printf "Version: %s\n" "`date '+%Y.%m.%d'`" + ;; "Depends:"*) printf "Depends: " IFS="${saveIFS}" |