archery/docker/scripts/entrypoint.sh
2025-01-08 00:59:40 -05:00

22 lines
314 B
Bash
Executable File

#!/bin/sh
if [ -n "$DEP" ]
then
if [ "$DEP" = "testing" ]
then
/scripts/testing.sh
fi
fi
if [ -z "$REPO" ]
then
/bin/bash
exit $?;
fi
# Clone the git repo
git clone "$REPO" /home/user/pkg
cd /home/user/pkg
makepkg -smf --noconfirm --noprogressbar --skippgpcheck --noarchive
exit $?;