mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-13 08:40:29 +00:00
fix setup script
This commit is contained in:
1 parent
7f7e5da2d5
commit
da1ded5c0e
1 file changed
+4
-4
@@ -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