u
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
echo "<< 99_yay.sh >>"
|
echo "<< 99_yay.sh >>"
|
||||||
|
|
||||||
|
user=poq
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]
|
if [ "$EUID" -ne 0 ]
|
||||||
then echo "error: run as 'root'"
|
then echo "error: run as 'root'"
|
||||||
exit
|
exit
|
||||||
@@ -15,5 +17,5 @@ rm -rf /tmp/yay
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
git clone https://aur.archlinux.org/yay.git
|
git clone https://aur.archlinux.org/yay.git
|
||||||
cd /tmp/yay
|
cd /tmp/yay
|
||||||
su poq makepkg -si
|
runuser -l ${user} -c 'makepkg -si'
|
||||||
su poq yay --version
|
runuser -l ${user} -c 'yay --version'
|
||||||
|
|||||||
Reference in New Issue
Block a user