mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-17 00:01:07 +00:00
fix setup script
This commit is contained in:
@@ -26,10 +26,10 @@ cp "docker/systemd-nspawn.sh" "/usr/local/bin/systemd-nspawn"
|
|||||||
# create fresh tarball
|
# create fresh tarball
|
||||||
tox -e archive
|
tox -e archive
|
||||||
# run makepkg
|
# run makepkg
|
||||||
PKGVER=$(python -c "from src.ahriman import __version__; print(__version__)")
|
PKGVER=$(PYTHONPATH=ahriman-core/src python -c "from ahriman import __version__; print(__version__)")
|
||||||
mv "dist/ahriman-$PKGVER.tar.gz" package/archlinux
|
mv "dist/ahriman-$PKGVER.tar.gz" archlinux
|
||||||
chmod +777 package/archlinux # because fuck you that's why
|
chmod +777 archlinux # because fuck you that's why
|
||||||
cd package/archlinux
|
cd archlinux
|
||||||
sudo -u nobody -- makepkg -cf --skipchecksums --noconfirm
|
sudo -u nobody -- makepkg -cf --skipchecksums --noconfirm
|
||||||
sudo -u nobody -- makepkg --packagelist | grep "ahriman-core-$PKGVER" | pacman -U --noconfirm --nodeps -
|
sudo -u nobody -- makepkg --packagelist | grep "ahriman-core-$PKGVER" | pacman -U --noconfirm --nodeps -
|
||||||
if [[ -z $MINIMAL_INSTALL ]]; then
|
if [[ -z $MINIMAL_INSTALL ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user