-
-
Notifications
You must be signed in to change notification settings - Fork 780
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set installed version for all packages
- Loading branch information
1 parent
9031cd5
commit a947d6f
Showing
5 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
source /opt/hiddify-manager/common/package_manager.sh | ||
install_package shadowsocks-libev | ||
|
||
if ! is_installed ./v2ray-plugin_linux; then | ||
download_package v2ray-plugin v2ray-plugin-linux.tar.gz | ||
tar xvzf v2ray-plugin-linux.tar.gz | ||
mv v2ray-plugin_linux_$(dpkg --print-architecture) v2ray-plugin_linux | ||
download_package v2ray-plugin v2ray-plugin-linux.tar.gz | ||
if [ "$?" == "0" ] || ! is_installed ./v2ray-plugin_linux; then | ||
tar xvzf v2ray-plugin-linux.tar.gz || exit 1 | ||
mv v2ray-plugin_linux_$(dpkg --print-architecture) v2ray-plugin_linux ||exit 2 | ||
set_installed_version v2ray-plugin | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
# bash download_wgcf.sh | ||
source /opt/hiddify-manager/common/package_manager.sh | ||
if ! is_installed ./wgcf; then | ||
download_package wgcf wgcf | ||
chmod +x wgcf | ||
fi | ||
install_package wireguard-dkms wireguard-tools | ||
download_package wgcf wgcf | ||
if [ "$?" == "0" ] || ! is_installed ./wgcf; then | ||
chmod +x wgcf || exit 1 | ||
set_installed_version wgcf | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters