You are not logged in.

#1 2016-08-16 12:40:01

Mr Green
Administrator
Registered: 2010-11-07
Posts: 6,833

Add ArchStrike to ArchBang

You can add ArchStrike repos to ArchBang following ths wiki guide https://archstrike.org/wiki/setup

I have made a small script to simplify things, not fully tested so user beware!!!

#!/bin/bash
# ArchStrike Mode....
# by Mr Green

# Add repo
echo -e "[archstrike]\nServer = https://mirror.archstrike.org/$arch/$repo\n" >> /etc/pacman.conf

# enable multilib is we are running 64 bit
if [[ $(uname -m) == "x86_64" ]]; then
   sed -i "/\[multilib\]/,+2 s/# *//" /etc/pacman.conf
fi

sed -i "/${line}/ s/# *//" $F_NAME
# Update pacman
pacman -Syy

# Set up new ArchStrike keys
pacman-key --init
dirmngr < /dev/null
pacman-key -r 7CBC0D51
pacman-key --lsign-key 7CBC0D51

# Add required packages...
pacman -S archstrike-keyring
pacman -S archstrike-mirrorlist

# remove archstrike server
sed -i '/\[archstrike\]/,+2d' /etc/pacman.conf

# install archstrike-mirrorlist
echo -e "[archstrike]\nInclude = /etc/pacman.d/archstrike-mirrorlist" >> /etc/pacman.conf

Comments, suggestions, donations please feel free to contact me mrgreen(at)archbang(dot)org

Offline

Board footer

Powered by FluxBB