mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-24 15:48:18 +03:00
54a141abde
Merge in DNS/adguard-home from remove-client2 to master Squashed commit of the following: commit 0a0923494b0d1003e4f02f3a5f93d5248f0f2ded Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jan 20 17:14:29 2023 +0300 all: rm old experimental beta (dir client2/) This project was unfortunately abandoned. v0.108.0 will have a different front-end and new APIs.
29 lines
381 B
Bash
29 lines
381 B
Bash
#!/bin/sh
|
|
|
|
verbose="${VERBOSE:-0}"
|
|
readonly verbose
|
|
|
|
if [ "$verbose" -gt '0' ]
|
|
then
|
|
set -x
|
|
fi
|
|
|
|
set -e -f -u
|
|
|
|
dist_dir="${DIST_DIR:?please set DIST_DIR}"
|
|
sudo_cmd="${SUDO:-}"
|
|
readonly dist_dir sudo_cmd
|
|
|
|
$sudo_cmd rm -f\
|
|
./AdGuardHome\
|
|
./AdGuardHome.exe\
|
|
./coverage.txt\
|
|
;
|
|
|
|
$sudo_cmd rm -f -r\
|
|
./bin/\
|
|
./build/static/\
|
|
./client/node_modules/\
|
|
./data/\
|
|
"./${dist_dir}/"\
|
|
;
|