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 / 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() { function yaourtinstall() {
su "$username" -c "yaourt -S $1 --needed --noconfirm" su "$username" -c "yaourt -S $1 --needed --noconfirm"
} }
function pacaurinstall() {
su "$username" -c "pacaur -S $1 --needed --noconfirm"
}
function standartinstallation() { function standartinstallation() {
pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm
} }
@ -276,43 +328,9 @@ then
fi fi
if [ "${version}" != "libre" ]; then if [ "${version}" != "libre" ]; then
if [ "$yaourt" != "n" ] #yaourtmanagerinstall
then pacaurmanagerinstall
if [ "$yaourt" != "debug" ]; then yaourtinstall pamac-aur
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
yaourtinstall pamac-aur
fi
fi fi

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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