Skip to content

Commit

Permalink
fix(workflow): Force installlation on the build workflow via installe…
Browse files Browse the repository at this point in the history
…r.sh so i can be lazy
  • Loading branch information
Und3rf10w authored Jan 14, 2025
1 parent cba9b7c commit 0c5740f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ jobs:
sudo apt-get update
sudo apt-get install -y dpkg-dev wget
- name: Build and install the .deb package
- name: Build the deb package
run: |
# Build the deb package
sudo dpkg-deb -b kali-anonsurf-deb-src/ kali-anonsurf.deb
# Install the .deb package
sudo dpkg -i kali-anonsurf.deb || (sudo apt-get -f install && sudo dpkg -i kali-anonsurf.deb)
- name: Run the installer
run : |
sudo chmod +x ./installer.sh
sudo ./installer.sh
- name: Get version from control file
run: |
Expand Down
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chmod 644 i2p-archive-keyring.gpg
mv i2p-archive-keyring.gpg /usr/share/keyrings
apt-get update # Update repos

apt-get install -y secure-delete tor i2p i2p-router # install dependencies, just in case
apt-get install -y secure-delete tor i2p i2p-router # install dependencies, just in case

# Configure and install the .deb
chmod 755 -R kali-anonsurf-deb-src/DEBIAN # Ensure the DEBIAN folder is executable
Expand Down

0 comments on commit 0c5740f

Please sign in to comment.