Used sequpgrade.sh to upgrade existing seqs
This commit is contained in:
10
seqs/git.sh
10
seqs/git.sh
@@ -12,25 +12,25 @@ SCRIPT_NAME=${SCRIPT_FILE%%.*}
|
||||
CONFIG_FILE_NAME="${SCRIPT_NAME}.cfg"
|
||||
CONFIG_FILE_TEMPLATE="$WDIR/${CONFIG_FILE_NAME}.example"
|
||||
|
||||
step_config() {
|
||||
seq_config() {
|
||||
## or to use sequencer api with global config file:
|
||||
#initSeqConfig "$CONFIG_FILE_NAME" "$CONFIG_FILE_TEMPLATE"
|
||||
#if [ $? -eq 0 ] ; then
|
||||
# CONFIG=1
|
||||
#else
|
||||
# # End if no configuration file exists
|
||||
# [ $DRY -eq 0 ] && return -1
|
||||
# dry || return -1
|
||||
#fi
|
||||
|
||||
## Apt cmdline option to suppress user interaction
|
||||
[ $QUIET -ne 0 ] && APTOPT="-y"
|
||||
quiet && APTOPT="-y"
|
||||
|
||||
## Return of non zero value will abort the sequence
|
||||
return 0
|
||||
}
|
||||
|
||||
step_1_info() { echo "Setup global git aliases"; }
|
||||
step_1_alias() { ALIAS="alias"; }
|
||||
step_1_alias() { echo "alias"; }
|
||||
step_1() {
|
||||
local brConf="branch \
|
||||
--format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - \
|
||||
@@ -48,5 +48,5 @@ step_1() {
|
||||
exe git config --global alias.ll 'log'
|
||||
}
|
||||
|
||||
VERSION_SEQREV=15
|
||||
readonly sqr_minVersion=16
|
||||
. /usr/local/bin/sequencer.sh
|
||||
|
Reference in New Issue
Block a user