mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-29 17:57:18 +00:00
Compare commits
2 Commits
0e839fbbf2
...
2e059023f3
Author | SHA1 | Date | |
---|---|---|---|
2e059023f3 | |||
da5d97788a |
@ -51,4 +51,4 @@ VOLUME ["/var/lib/ahriman"]
|
|||||||
COPY "docker/entrypoint.sh" "/usr/local/bin/entrypoint"
|
COPY "docker/entrypoint.sh" "/usr/local/bin/entrypoint"
|
||||||
ENTRYPOINT ["entrypoint"]
|
ENTRYPOINT ["entrypoint"]
|
||||||
# default command
|
# default command
|
||||||
CMD ["repo-update"]
|
CMD ["repo-update", "--refresh"]
|
||||||
|
@ -47,8 +47,6 @@ if [ -n "$AHRIMAN_UNIX_SOCKET" ]; then
|
|||||||
fi
|
fi
|
||||||
ahriman "${AHRIMAN_DEFAULT_ARGS[@]}" repo-setup "${AHRIMAN_SETUP_ARGS[@]}"
|
ahriman "${AHRIMAN_DEFAULT_ARGS[@]}" repo-setup "${AHRIMAN_SETUP_ARGS[@]}"
|
||||||
|
|
||||||
# refresh database
|
|
||||||
pacman -Syy &> /dev/null
|
|
||||||
# create machine-id which is required by build tools
|
# create machine-id which is required by build tools
|
||||||
systemd-machine-id-setup &> /dev/null
|
systemd-machine-id-setup &> /dev/null
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 613 KiB After Width: | Height: | Size: 621 KiB |
@ -1,4 +1,4 @@
|
|||||||
.TH AHRIMAN "1" "2022\-12\-04" "ahriman" "Generated Python Manual"
|
.TH AHRIMAN "1" "2022\-12\-05" "ahriman" "Generated Python Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ahriman
|
ahriman
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Maintainer: Evgeniy Alekseev
|
# Maintainer: Evgeniy Alekseev
|
||||||
|
|
||||||
pkgname='ahriman'
|
pkgname='ahriman'
|
||||||
pkgver=2.3.0
|
pkgver=2.4.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="ArcH linux ReposItory MANager"
|
pkgdesc="ArcH linux ReposItory MANager"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -56,7 +56,8 @@ class Shell(Handler):
|
|||||||
# licensed by https://creativecommons.org/licenses/by-sa/3.0
|
# licensed by https://creativecommons.org/licenses/by-sa/3.0
|
||||||
path = Path(sys.prefix) / "share" / "ahriman" / "templates" / "shell"
|
path = Path(sys.prefix) / "share" / "ahriman" / "templates" / "shell"
|
||||||
StringPrinter(path.read_text(encoding="utf8")).print(verbose=False)
|
StringPrinter(path.read_text(encoding="utf8")).print(verbose=False)
|
||||||
|
# we only want to pass application isntance inside
|
||||||
if args.code is None:
|
if args.code is None:
|
||||||
code.interact(local=locals())
|
code.interact(local={"application": application})
|
||||||
else:
|
else:
|
||||||
code.InteractiveConsole(locals=locals()).runcode(args.code)
|
code.InteractiveConsole(locals={"application": application}).runcode(args.code)
|
||||||
|
@ -17,4 +17,4 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
__version__ = "2.3.0"
|
__version__ = "2.4.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user