mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-03 03:36:29 -04:00
fix: avoid operand evaluation as argument
Explicit end option parsing as the shell can be quite dangerous without it.
This commit is contained in:
parent
e42950376a
commit
1b2f1ba941
52 changed files with 196 additions and 189 deletions
|
@ -10,13 +10,13 @@ bin_dir="/usr/bin"
|
|||
app_dir="/usr/share/applications"
|
||||
tmp_dir="/tmp/electrum-upload"
|
||||
|
||||
rm -rf "${tmp_dir}"
|
||||
mkdir -p "${tmp_dir}"
|
||||
rm -rf -- "${tmp_dir}"
|
||||
mkdir -p -- "${tmp_dir}"
|
||||
qfile-unpacker 0 "${tmp_dir}"
|
||||
cd "${tmp_dir}"
|
||||
cp -r electrum "${python_dir}"/
|
||||
cp electrum.desktop "${app_dir}"/
|
||||
cp run_electrum "${bin_dir}"/electrum
|
||||
cp -r -- electrum "${python_dir}"/
|
||||
cp -- electrum.desktop "${app_dir}"/
|
||||
cp -- run_electrum "${bin_dir}"/electrum
|
||||
|
||||
## Qube needs to shutdown for the app qube to have the uploaded files.
|
||||
shutdown now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue