From ea8be176e86645b1c46a4f42160ce8806383d222 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 2 Dec 2023 12:56:31 +0100 Subject: [PATCH] Dostoswanie pliku bazowego do innej nazwy projektu. --- versions/base.sh | 96 ++++++++++++++++++++++++------------------------ 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/versions/base.sh b/versions/base.sh index 415a8f3..153298f 100644 --- a/versions/base.sh +++ b/versions/base.sh @@ -26,11 +26,11 @@ else fi cd; -if [ -x /usr/bin/git ]; then git clone https://github.com/xf0r3m/immudex-testing; -else apt install git -y && git clone https://github.com/xf0r3m/immudex-testing; +if [ -x /usr/bin/git ]; then git clone https://git.morketsmerke.org/git/immudex; +else apt install git -y && git clone https://git.morketsmerke.org/git/immudex; fi -source ~/immudex-testing/versions/template.sh; +source ~/immudex/versions/template.sh; echo "deb http://deb.debian.org/debian/ ${DEBVER} main" > /etc/apt/sources.list; echo "deb-src http://deb.debian.org/debian/ ${DEBVER} main" >> /etc/apt/sources.list; @@ -92,62 +92,62 @@ bash install.sh; cd; -cp -vv ~/immudex-testing/tools/immudex-autostart-x4notes /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-create-media /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-addons /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-branch /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-crypt /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-hostname /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-install /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-import-gpgkeys /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-import-sshkeys /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-meteo /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-morketsmerke /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-motd2 /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-newsfeed /usr/local/bin; -#cp -vv ~/immudex-testing/tools/immudex-notifier /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-padlock /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-pl /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-secured-firefox /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-shoutcasts /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-version /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-upgrade /usr/local/bin; -cp -vv ~/immudex-testing/tools/immudex-ytplay /usr/local/bin; -cp -vv ~/immudex-testing/tools/library.sh /usr/local/bin; -cp -vv ~/immudex-testing/tools/idle-clic /usr/local/bin; -cp -vv ~/immudex-testing/tools/sync.sh /usr/local/bin; +cp -vv ~/immudex/tools/immudex-autostart-x4notes /usr/local/bin; +cp -vv ~/immudex/tools/immudex-create-media /usr/local/bin; +cp -vv ~/immudex/tools/immudex-addons /usr/local/bin; +cp -vv ~/immudex/tools/immudex-branch /usr/local/bin; +cp -vv ~/immudex/tools/immudex-crypt /usr/local/bin; +cp -vv ~/immudex/tools/immudex-hostname /usr/local/bin; +cp -vv ~/immudex/tools/immudex-install /usr/local/bin; +cp -vv ~/immudex/tools/immudex-import-gpgkeys /usr/local/bin; +cp -vv ~/immudex/tools/immudex-import-sshkeys /usr/local/bin; +cp -vv ~/immudex/tools/immudex-meteo /usr/local/bin; +cp -vv ~/immudex/tools/immudex-morketsmerke /usr/local/bin; +cp -vv ~/immudex/tools/immudex-motd2 /usr/local/bin; +cp -vv ~/immudex/tools/immudex-newsfeed /usr/local/bin; +#cp -vv ~/immudex/tools/immudex-notifier /usr/local/bin; +cp -vv ~/immudex/tools/immudex-padlock /usr/local/bin; +cp -vv ~/immudex/tools/immudex-pl /usr/local/bin; +cp -vv ~/immudex/tools/immudex-secured-firefox /usr/local/bin; +cp -vv ~/immudex/tools/immudex-shoutcasts /usr/local/bin; +cp -vv ~/immudex/tools/immudex-version /usr/local/bin; +cp -vv ~/immudex/tools/immudex-upgrade /usr/local/bin; +cp -vv ~/immudex/tools/immudex-ytplay /usr/local/bin; +cp -vv ~/immudex/tools/library.sh /usr/local/bin; +cp -vv ~/immudex/tools/idle-clic /usr/local/bin; +cp -vv ~/immudex/tools/sync.sh /usr/local/bin; chmod +x /usr/local/bin/*; mkdir /etc/skel/.irssi -cp -vv ~/immudex-testing/files/config /etc/skel/.irssi; -cp -vv ~/immudex-testing/files/default.theme /etc/skel/.irssi; -cp -rvv ~/immudex-testing/files/libreoffice /etc/skel/.config; -cp -vv ~/immudex-testing/files/firejail.config /etc/firejail; -#cp -vv ~/immudex-testing/files/Notifier\ -\ distro.desktop /etc/skel/.config/autostart; -cp -vv ~/immudex-testing/files/redshift.conf /etc/skel/.config; -cp -vv ~/immudex-testing/files/redshift.desktop /etc/skel/.config/autostart; -cp -vv ~/immudex-testing/files/terminalrc /etc/skel/.config/xfce4/terminal; -cp -vv ~/immudex-testing/files/xfce4-keyboard-shortcuts.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml -cp -vv ~/immudex-testing/files/whiskermenu-1.rc /etc/skel/.config/xfce4/panel; -cp -vv ~/immudex-testing/files/xfwm4.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml; +cp -vv ~/immudex/files/config /etc/skel/.irssi; +cp -vv ~/immudex/files/default.theme /etc/skel/.irssi; +cp -rvv ~/immudex/files/libreoffice /etc/skel/.config; +cp -vv ~/immudex/files/firejail.config /etc/firejail; +#cp -vv ~/immudex/files/Notifier\ -\ distro.desktop /etc/skel/.config/autostart; +cp -vv ~/immudex/files/redshift.conf /etc/skel/.config; +cp -vv ~/immudex/files/redshift.desktop /etc/skel/.config/autostart; +cp -vv ~/immudex/files/terminalrc /etc/skel/.config/xfce4/terminal; +cp -vv ~/immudex/files/xfce4-keyboard-shortcuts.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml +cp -vv ~/immudex/files/whiskermenu-1.rc /etc/skel/.config/xfce4/panel; +cp -vv ~/immudex/files/xfwm4.xml /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml; # Instalacja MIME jest teraz częścią projektu 'xfcedebian' -#cp -vv ~/immudex-testing/files/${VERSION}/mimeapps.list /etc/skel/.config; +#cp -vv ~/immudex/files/${VERSION}/mimeapps.list /etc/skel/.config; -cp -rvv ~/immudex-testing/files/sync.sh /usr/share; -cp -vv ~/immudex-testing/files/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/; -cp -vv ~/immudex-testing/files/librewolf.desktop /usr/share/applications; -cp -vv ~/immudex-testing/files/immudex_hostname.service /etc/systemd/system; +cp -rvv ~/immudex/files/sync.sh /usr/share; +cp -vv ~/immudex/files/gtk-main.css /usr/share/xfce4-notes-plugin/gtk-3.0/; +cp -vv ~/immudex/files/librewolf.desktop /usr/share/applications; +cp -vv ~/immudex/files/immudex_hostname.service /etc/systemd/system; -tar -xzvf ~/immudex-testing/files/mozilla.tgz -C /etc/skel; -tar -xf ~/immudex-testing/files/librewolf.tgz -C /etc/skel; -#cp -vv ~/immudex-testing/images/${VERSION}/apply.png /usr/share/icons; -cp -vv ~/immudex-testing/images/rss.png /usr/share/icons; +tar -xzvf ~/immudex/files/mozilla.tgz -C /etc/skel; +tar -xf ~/immudex/files/librewolf.tgz -C /etc/skel; +#cp -vv ~/immudex/images/${VERSION}/apply.png /usr/share/icons; +cp -vv ~/immudex/images/rss.png /usr/share/icons; -cp -vv ~/immudex-testing/launchers/16844254192.desktop /etc/skel/.config/xfce4/panel/launcher-5; +cp -vv ~/immudex/launchers/16844254192.desktop /etc/skel/.config/xfce4/panel/launcher-5; systemctl enable immudex_hostname.service; -- 2.39.5