new-aurinstaller
This commit is contained in:
parent
3b3fe5f037
commit
d1d6e0a12b
3 changed files with 37 additions and 12 deletions
|
@ -126,7 +126,6 @@ function aurmanagerinstall() {
|
||||||
pwd
|
pwd
|
||||||
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed"
|
su "$username" -c "makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed"
|
||||||
pwd
|
pwd
|
||||||
rm -Rv /home/"$username"/aurman
|
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -525,6 +524,13 @@ chsh -s /usr/bin/fish ${username}
|
||||||
# XDG standard
|
# XDG standard
|
||||||
cp /opt/${repo}/mimeapps.list /etc/xdg/mimeapps.list
|
cp /opt/${repo}/mimeapps.list /etc/xdg/mimeapps.list
|
||||||
|
|
||||||
|
# aurinstaller
|
||||||
|
cp /opt/${repo}/aurinstall.sh /usr/bin/aurinstaller
|
||||||
|
chmod +x /usr/bin/aurinstaller
|
||||||
|
|
||||||
|
aurinstaller "https://aur.archlinux.org/plymouth.git"
|
||||||
|
aurinstaller "https://aur.archlinux.org/plymouth-theme-dark-arch.git"
|
||||||
|
|
||||||
# nano
|
# nano
|
||||||
echo "include "/usr/share/nano/*.nanorc"" > /etc/nanorc
|
echo "include "/usr/share/nano/*.nanorc"" > /etc/nanorc
|
||||||
|
|
||||||
|
@ -575,9 +581,9 @@ fi
|
||||||
|
|
||||||
if [ "$version" != "lite" ]; then
|
if [ "$version" != "lite" ]; then
|
||||||
|
|
||||||
# custom-installer
|
### custom-installer
|
||||||
|
|
||||||
# pip install beautysh
|
## pip install beautysh
|
||||||
if [ -d /opt/beautysh ];then
|
if [ -d /opt/beautysh ];then
|
||||||
echo "Bereits vorhanden!!!"
|
echo "Bereits vorhanden!!!"
|
||||||
cd /opt/beautysh
|
cd /opt/beautysh
|
||||||
|
@ -597,7 +603,7 @@ if [ "$version" != "lite" ]; then
|
||||||
|
|
||||||
pip install powerline-shell
|
pip install powerline-shell
|
||||||
|
|
||||||
# powerline-shell-fonts
|
## powerline-shell-fonts
|
||||||
if [ -d /opt/powerline-shell-fonts ];then
|
if [ -d /opt/powerline-shell-fonts ];then
|
||||||
echo "Bereits vorhanden!!!"
|
echo "Bereits vorhanden!!!"
|
||||||
cd /opt/powerline-shell-fonts
|
cd /opt/powerline-shell-fonts
|
||||||
|
@ -609,7 +615,7 @@ if [ "$version" != "lite" ]; then
|
||||||
./install.sh
|
./install.sh
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
# uncrustify
|
## uncrustify
|
||||||
if [ -d /opt/uncrustify ];then
|
if [ -d /opt/uncrustify ];then
|
||||||
echo "Bereits vorhanden!!!"
|
echo "Bereits vorhanden!!!"
|
||||||
cd /opt/uncrustify
|
cd /opt/uncrustify
|
||||||
|
@ -630,7 +636,7 @@ if [ "$version" != "lite" ]; then
|
||||||
chmod +x /usr/bin/uncrustify
|
chmod +x /usr/bin/uncrustify
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
# conky
|
## conky
|
||||||
if [ -d /opt/conky ];then
|
if [ -d /opt/conky ];then
|
||||||
echo "Bereits vorhanden!!!"
|
echo "Bereits vorhanden!!!"
|
||||||
cd /opt/conky
|
cd /opt/conky
|
||||||
|
|
10
arch-install
10
arch-install
|
@ -290,12 +290,10 @@ function installation {
|
||||||
parameter="${parameter}usbsecret "
|
parameter="${parameter}usbsecret "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${version}" != "libre" ]; then
|
if [ "${verschluesselung}" == "y" ]; then
|
||||||
if [ "${verschluesselung}" == "y" ]; then
|
parameter="${parameter}plymouth-encrypt "
|
||||||
parameter="${parameter}plymouth-encrypt "
|
else
|
||||||
else
|
parameter="${parameter}plymouth "
|
||||||
parameter="${parameter}plymouth "
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
21
aurinstall.sh
Executable file
21
aurinstall.sh
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
url="$1"
|
||||||
|
url1=${url%.*}
|
||||||
|
url2=${url1#*//}
|
||||||
|
packagename=${url2#*/}
|
||||||
|
|
||||||
|
cd
|
||||||
|
pwd
|
||||||
|
if [ -d ${packagename} ];then
|
||||||
|
echo "Bereits vorhanden!!!"
|
||||||
|
cd ${packagename}
|
||||||
|
git pull
|
||||||
|
else
|
||||||
|
git clone ${url}
|
||||||
|
cd ${packagename}
|
||||||
|
fi
|
||||||
|
makepkg -si --skipchecksums --skippgpcheck --nocheck --noconfirm --install --needed
|
||||||
|
|
Loading…
Reference in a new issue