mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-03 23:43:40 +02:00
Update updater.sh
This commit is contained in:
parent
972c227fd7
commit
d560a2b75d
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ update_userjs () {
|
|||
echo "$diff" > "$diffname"
|
||||
else
|
||||
# strip leasttabs-1 number of TABS once per line
|
||||
sed -E 's/\t{'$((leasttabs-1))'}//1' <<< "$diff" > "$diffname"
|
||||
sed -E "s/$(printf '\t'){$((leasttabs-1))}//1" <<< "$diff" > "$diffname"
|
||||
fi
|
||||
echo -e "Status: ${GREEN}A diff file was created:${NC} ${PWD}/${diffname}"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue