comparison bin/moefetch @ 301:36bc27bb32ff

Updated version and copyright.
author Edho Arief <edho@myconan.net>
date Thu, 09 Feb 2012 09:01:56 +0700
parents 4879900244f7
children b90ebadbfd5d
comparison
equal deleted inserted replaced
300:4879900244f7 301:36bc27bb32ff
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009, edogawaconan <me@myconan.net> 3 # Copyright (c) 2009-2012, edogawaconan <edho@myconan.net>
4 # 4 #
5 # Permission to use, copy, modify, and/or distribute this software for any 5 # Permission to use, copy, modify, and/or distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above 6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies. 7 # copyright notice and this permission notice appear in all copies.
8 # 8 #
35 # not user modifiable from here 35 # not user modifiable from here
36 36
37 # useless welcome message. Also version 37 # useless welcome message. Also version
38 msg_welcome() { 38 msg_welcome() {
39 echo "moefetch ${_version} 39 echo "moefetch ${_version}
40 Copyright (c) 2009 edogawaconan <me@myconan.net> 40 Copyright (c) 2009-2012 edogawaconan <edho@myconan.net>
41 " 41 "
42 } 42 }
43 43
44 # Sanitize path. Totally safe. Usage: cmd "$(safe_path "${filename}")" 44 # Sanitize path. Totally safe. Usage: cmd "$(safe_path "${filename}")"
45 safe_path() 45 safe_path()
377 } 377 }
378 378
379 # global variables goes here 379 # global variables goes here
380 init_globals() 380 init_globals()
381 { 381 {
382 _version="1.0-rc2" # version of this script 382 _version="1.0-rc3" # version of this script
383 _use_login=0 # variable to check whether a login is used or not 383 _use_login=0 # variable to check whether a login is used or not
384 } 384 }
385 385
386 main() 386 main()
387 { 387 {