- Timestamp:
- 04/24/2019 04:16:20 PM (5 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 2c603d8
- Parents:
- 7fa9369
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r7fa9369 rf596dde 102 102 version=" 103 103 ${BOLD} \"jhalfs\"${OFF} builder tool (development) \$Rev$ 104 \$Date$ 105 106 Written by George Boudreau, Manuel Canales Esparcia, Pierre Labastie, 107 plus several contributions. 108 109 Based on an idea from Jeremy Huntwork 110 111 This set of files are published under the 112 ${BOLD}Gnu General Public License, Version 2.${OFF} 113 See the ${BOLD}LICENSE${OFF} file in this directory. 104 \$Date$ 105 106 Copyright (C) 2005-2019, the jhalfs team: 107 Jeremy Huntwork 108 George Boudreau 109 Manuel Canales Esparcia 110 Thomas Pegg 111 Matthew Burgess 112 Pierre Labastie 113 114 Unless specified, all the files in this directory and its sub-directories 115 are subjected to the ${BOLD}MIT license${OFF}. See the ${BOLD}LICENSE${OFF} file. 116 117 The files in the ${BOLD}menu${OFF} directory are subjected to the ${BOLD}ISC License${OFF}. 118 See ${BOLD}LICENSE.txt${OFF} and ${BOLD}README${OFF} in that directory. 114 119 " 120 121 usage="${nl_}${tab_}${BOLD}${RED}This script cannot be called directly${OFF} 122 ${tab_}Type ${BOLD}make${OFF} to run the tool, or 123 ${tab_}Type ${BOLD}./jhalfs -v${OFF} to display version information." 115 124 116 125 case $1 in 117 126 -v ) echo "$version" && exit ;; 118 127 run ) : ;; 119 * ) 120 echo "${nl_}${tab_}${BOLD}${RED}This script cannot be called directly: EXITING ${OFF}${nl_}" 121 exit 1 122 ;; 128 * ) echo "$usage" && exit 1 ;; 123 129 esac 124 130 … … 126 132 # if he or she really wants to run this stuff 127 133 time_current=$(stat -c '%Y' configuration 2>/dev/null || date +%s) 128 time_old=$(stat -c '%Y' configuration.old 2>/dev/null || printf '%s' "$time_current")134 time_old=$(stat -c '%Y' .configuration.old 2>/dev/null || printf '%s' "$time_current") 129 135 if [ "$(printf '%d' "$time_old")" -ge "$(printf '%d' "$time_current")" ] ; then 130 136 printf 'Do you want to run jhalfs? yes/no (yes): ' … … 149 155 GETPKG=${GETPKG:-n} 150 156 COMPARE=${COMPARE:-n} 151 RUN_FARCE=${RUN_FARCE:-n}152 157 RUN_ICA=${RUN_ICA:-n} 153 158 PKGMNGT=${PKGMNGT:-n}
Note:
See TracChangeset
for help on using the changeset viewer.