-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from VultureProject/dev
Release 1.771
- Loading branch information
Showing
7 changed files
with
46 additions
and
10 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
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
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
37 changes: 37 additions & 0 deletions
37
vulture_toolkit/update_api/update_scripts/GUI-1.771/maj_vulture-LIBS.sh
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
# | ||
# This migration script install newest Vulture-LIBS package | ||
# | ||
# | ||
|
||
. /etc/rc.conf | ||
|
||
if [ "$http_proxy" != "" ] | ||
then | ||
export https_proxy="http://$http_proxy" | ||
export http_proxy="http://$http_proxy" | ||
fi | ||
|
||
cd /tmp | ||
|
||
/bin/echo "[+] Updating Vulture-LIBS from branch \"$1\"..." | ||
/bin/rm -f /tmp/Vulture-LIBS.tar.gz | ||
|
||
bsd_version=$(/usr/bin/uname -r | /usr/bin/cut -d '-' -f 1) | ||
url="https://download.vultureproject.org/v3/$bsd_version$1/Vulture-LIBS.tar.gz" | ||
|
||
/bin/echo -n "[+] Downloading from '$url' ..." | ||
/usr/local/bin/wget --no-check-certificate $url >>/tmp/installation.log 2>&1 | ||
/bin/echo "DONE" | ||
|
||
cd /home/vlt-gui | ||
/bin/rm -rf ./env | ||
/usr/bin/tar xf /tmp/Vulture-LIBS.tar.gz | ||
/usr/sbin/chown -R vlt-gui:vlt-gui /home/vlt-gui/ | ||
|
||
/bin/echo -n "[+] Installing Vulture libraries ..." | ||
/bin/sh "/home/vlt-gui/lib-$bsd_version/install.sh" | ||
/bin/echo "OK" | ||
|
||
/bin/echo "[*] Update of Vulture-LIBS ended" | ||
|