mirror of
https://github.com/Relintai/osxcross.git
synced 2025-04-11 17:32:38 +02:00
Added feature to install uuid from AUR
This commit is contained in:
parent
a298620e9d
commit
05b2486a0c
@ -4,6 +4,8 @@
|
|||||||
# this assumes you are running as root or are using sudo
|
# this assumes you are running as root or are using sudo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
USER="$(cat /etc/passwd | grep '/home' | cut -d: -f1 | head -1)"
|
||||||
|
|
||||||
get_fedora_deps()
|
get_fedora_deps()
|
||||||
{
|
{
|
||||||
yum install clang llvm-devel libxml2-devel libuuid-devel openssl-devel \
|
yum install clang llvm-devel libxml2-devel libuuid-devel openssl-devel \
|
||||||
@ -73,7 +75,10 @@ if [ -e /etc/issue ]; then
|
|||||||
elif [ "`grep -i mageia /etc/issue`" ]; then
|
elif [ "`grep -i mageia /etc/issue`" ]; then
|
||||||
get_mageia_deps
|
get_mageia_deps
|
||||||
elif [ "`grep -i arch /etc/issue`" ]; then
|
elif [ "`grep -i arch /etc/issue`" ]; then
|
||||||
|
echo "Running pacman to install dependencies..."
|
||||||
get_arch_deps
|
get_arch_deps
|
||||||
|
echo "Downloading and Installing uuid..."
|
||||||
|
sudo -u $USER -- sh -c 'git clone https://aur.archlinux.org/uuid.git /tmp/uuid; pushd /tmp/uuid; makepkg -srci; popd; rm -rf /tmp/uuid'
|
||||||
else
|
else
|
||||||
unknown
|
unknown
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user