feat core
: try to use a wildcard in sed commands (spoiler: this will go very wrong)
This commit is contained in:
parent
e42f93a8c5
commit
d0a09820f7
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
|
||||||
|
|
||||||
|
|
||||||
# remove components
|
# remove components
|
||||||
sed -i "s~""${s}$1${e}""~~g" "$co"/"$3"
|
sed -i "s~""${s}"*"${e}""~~g" "$co"/"$3"
|
||||||
sed -i "s~""<${identifier^}Component />""~~g" "$co"/"$3"
|
sed -i "s~""<${identifier^}Component />""~~g" "$co"/"$3"
|
||||||
# add components
|
# add components
|
||||||
sed -i "s~""$im""~""${im}${s}$1${e}""~g" "$co"/"$3"
|
sed -i "s~""$im""~""${im}${s}$1${e}""~g" "$co"/"$3"
|
||||||
|
|
Loading…
Reference in a new issue