This commit is contained in:
simono41 2018-03-18 18:15:27 +01:00
parent fdddc21d8f
commit a24aacba1b
10 changed files with 64 additions and 37 deletions

View file

@ -44,10 +44,62 @@ function gitclone() {
cd /
}
function yaourtmanagerinstall() {
cd /home/"$username"/
pwd
su "$username" -c "curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz"
pwd
su "$username" -c "tar -xvzf package-query.tar.gz"
pwd
cd package-query
pwd
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed" <<EOT
pwd
cd ..
pwd
su "$username" -c "curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz"
pwd
su "$username" -c "tar -xvzf yaourt.tar.gz"
pwd
cd yaourt
pwd
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed"
pwd
cd /
}
function pacaurmanagerinstall() {
cd /home/"$username"/
pwd
su "$username" -c "git clone https://aur.archlinux.org/cower.git"
pwd
cd cower
pwd
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed"
pwd
cd ..
pwd
su "$username" -c "git clone https://aur.archlinux.org/pacaur.git"
pwd
cd pacaur
pwd
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed"
pwd
cd /
}
function yaourtinstall() {
su "$username" -c "yaourt -S $1 --needed --noconfirm"
}
function pacaurinstall() {
su "$username" -c "pacaur -S $1 --needed --noconfirm"
}
function standartinstallation() {
pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm
}
@ -276,43 +328,9 @@ then
fi
if [ "${version}" != "libre" ]; then
if [ "$yaourt" != "n" ]
then
if [ "$yaourt" != "debug" ]; then
cd /home/"$username"/
pwd
su "$username" -c "curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz"
pwd
su "$username" -c "tar -xvzf package-query.tar.gz"
pwd
cd package-query
pwd
su "$username" -c "makepkg -si" <<EOT
EOT
pwd
cd ..
pwd
su "$username" -c "curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz"
pwd
su "$username" -c "tar -xvzf yaourt.tar.gz"
pwd
cd yaourt
pwd
su "$username" -c "makepkg -si" <<EOT
EOT
pwd
cd ..
pwd
su "$username" -c "mkdir -p /home/"$username"/aur-pakete"
pwd
fi
#yaourtmanagerinstall
pacaurmanagerinstall
yaourtinstall pamac-aur
fi
fi

View file

@ -30,6 +30,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -29,6 +29,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -29,6 +29,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -22,6 +22,7 @@ efibootmgr
efitools
elementary-icon-theme
exfat-utils
expac
fail2ban
ffmpeg
filezilla

View file

@ -29,6 +29,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -30,6 +30,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -29,6 +29,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -45,6 +45,7 @@ efibootmgr
efitools
elementary-icon-theme
exfat-utils
expac
fail2ban
ffmpeg
file-roller

View file

@ -29,6 +29,7 @@ dsniff
efibootmgr
efitools
exfat-utils
expac
fail2ban
ffmpeg
file-roller