Skip to content

Commit

Permalink
Fix SC2162; shfmt -i 2 -ci -sr
Browse files Browse the repository at this point in the history
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
  • Loading branch information
IceCodeNew committed Sep 30, 2020
1 parent 69aaf19 commit 5b92713
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ install_startup_service_file() {
mkdir -p '/etc/systemd/system/v2ray@.service.d/'
if [[ -n "$JSONS_PATH" ]]; then
"rm" '/etc/systemd/system/v2ray.service.d/10-donot_touch_single_conf.conf' \
'/etc/systemd/system/v2ray@.service.d/10-donot_touch_single_conf.conf';
'/etc/systemd/system/v2ray@.service.d/10-donot_touch_single_conf.conf'
echo "# In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there.
# Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
[Service]
Expand All @@ -376,7 +376,7 @@ ExecStart=/usr/local/bin/v2ray -confdir $JSONS_PATH" |
'/etc/systemd/system/v2ray@.service.d/10-donot_touch_multi_conf.conf'
else
"rm" '/etc/systemd/system/v2ray.service.d/10-donot_touch_multi_conf.conf' \
'/etc/systemd/system/v2ray@.service.d/10-donot_touch_multi_conf.conf';
'/etc/systemd/system/v2ray@.service.d/10-donot_touch_multi_conf.conf'
echo "# In case you have a good reason to do so, duplicate this file in the same directory and make your customizes there.
# Or all changes you made will be lost! # Refer: https://www.freedesktop.org/software/systemd/man/systemd.unit.html
[Service]
Expand Down Expand Up @@ -520,7 +520,7 @@ main() {
if [[ "$LOCAL_INSTALL" -eq '1' ]]; then
echo 'warn: Install V2Ray from a local file, but still need to make sure the network is available.'
echo -n 'warn: Please make sure the file is valid because we cannot confirm it. (Press any key) ...'
read
read -r
install_software "$package_provide_bsdtar" 'bsdtar'
decompression "$LOCAL_FILE"
else
Expand Down

0 comments on commit 5b92713

Please sign in to comment.