Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michael
dotfiles
Commits
98dddd9a
Commit
98dddd9a
authored
Apr 01, 2021
by
Michael
Browse files
fix syntax error
parent
4c66f31b
Changes
1
Hide whitespace changes
Inline
Side-by-side
.local/Scripts/update_scripts.sh
View file @
98dddd9a
...
...
@@ -34,7 +34,7 @@ for f in $(ls -1A); do
printf
"found new version of %s
\\
n"
"
$f
"
LIST
=
"
$LIST
$f
"
fi
el
se
el
if
[
-f
"
$TMPDIR
/
$f
"
]
;
then
printf
"found new script: %s
\\
n"
"
$f
"
LIST
=
"
$LIST
$f
"
fi
...
...
@@ -70,7 +70,7 @@ while [ "$(echo -n "$LIST" | wc -w)" -gt 0 ]; do
OPEN
)
featherpad
"
$TMPDIR
/
$LOCALDIR
/
$OPT
"
;;
INSTALL
)
cp
-v
"
$TMPDIR
/
$LOCALDIR
/
$OPT
"
"
$HOME
/.local/Scripts/
$OPT
"
;
LIST
=
"
$(
echo
"
$LIST
"
|
sed
"s:
$OPT
::"
)
"
;
OPT
=
""
;;
SKIP
)
LIST
=
"
$(
echo
"
$LIST
"
|
sed
"s:
$OPT
::)"
;
OPT
=
""
;;
SKIP
)
LIST
=
"
$(
echo
"
$LIST
"
|
sed
"s:
$OPT
::
"
)
"
;
OPT
=
""
;;
*
)
ACTION
=
"-"
;
OPT
=
""
;;
esac
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment