diff options
author | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-19 18:17:13 +0200 |
---|---|---|
committer | Aurélien DESBRIÈRES <aurelien@hackers.camp> | 2014-06-19 18:17:13 +0200 |
commit | 9ca394dd06070cf584d5c503b5e43fb1b776134f (patch) | |
tree | 88bfd40223c57e74ee91eaca229a7e2f6439d802 /pcr/mkinitcpio-paralogo | |
parent | a5a563cfae42761a89980c368bb75da23b00bc9e (diff) | |
parent | 3ccd2ef1b87c3642d384b16fa109c8a524aadeeb (diff) |
mkinitcpio-paralogo new logo
Diffstat (limited to 'pcr/mkinitcpio-paralogo')
-rw-r--r-- | pcr/mkinitcpio-paralogo/PKGBUILD | 2 | ||||
-rwxr-xr-x | pcr/mkinitcpio-paralogo/install/paralogo | 18 | ||||
-rw-r--r-- | pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install | 11 | ||||
-rwxr-xr-x[-rw-r--r--] | pcr/mkinitcpio-paralogo/share/paralogo3 | 24 | ||||
-rw-r--r-- | pcr/mkinitcpio-paralogo/share/paralogo4 | 11 |
5 files changed, 38 insertions, 28 deletions
diff --git a/pcr/mkinitcpio-paralogo/PKGBUILD b/pcr/mkinitcpio-paralogo/PKGBUILD index 6a23d56cb..d06b628f2 100644 --- a/pcr/mkinitcpio-paralogo/PKGBUILD +++ b/pcr/mkinitcpio-paralogo/PKGBUILD @@ -39,6 +39,8 @@ package() { # install logos install -D -m0644 share/paralogo ${pkgdir}/usr/share/paralogo/paralogo install -D -m0644 share/paralogo2 ${pkgdir}/usr/share/paralogo/paralogo2 + install -D -m0644 share/paralogo2 ${pkgdir}/usr/share/paralogo/paralogo3 + } sha256sums=('SKIP') diff --git a/pcr/mkinitcpio-paralogo/install/paralogo b/pcr/mkinitcpio-paralogo/install/paralogo index 9c28941d5..d1f5d2118 100755 --- a/pcr/mkinitcpio-paralogo/install/paralogo +++ b/pcr/mkinitcpio-paralogo/install/paralogo @@ -6,12 +6,24 @@ build() { add_file "/usr/share/paralogo/${PARALOGO}" if add_systemd_unit paralogo.service 2>/dev/null; then add_symlink "/usr/lib/systemd/system/sysinit.target.wants/paralogo.service" "../paralogo.service" - fi + else add_runscript systemctl enable paralogo.service - - fi + fi } +#mkinitcpio() { +# source /etc/mkinitcpio.conf +# add_text /etc/mkinitcpio.conf +# if add_text paralogo 2>/dev/null; then +# add_text sed -e 's|^_d_hooks=.*|_d_hooks=/etc/mkinitcpio.conf:HOOK="paralogo"' +# add_runscript +# mkinitcpio -p linux-libre +# else +# add_runscript +# mkinitcpio -p linux-libre +# fi +#} + help() { echo "This hook adds an Parabola Linux logo to the boot process." diff --git a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install index 608a2ad24..1c93b4b20 100644 --- a/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install +++ b/pcr/mkinitcpio-paralogo/mkinitcpio-paralogo.install @@ -1,12 +1,15 @@ #!/bin/sh post_install() { - echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf" - echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre" - echo " > You can put your own artwork in /usr/share/paralogo/ and select" - echo " > a non-default one in /etc/paralogo.conf." + sed -e "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf + mkinitcpio -p linux-libre +# echo " > Now add 'paralogo' to your HOOKS array in /etc/mkinitcpio.conf" +# echo " > and rebuild initial ramdisk with # mkinitcpio -p linux-libre" +# echo " > You can put your own artwork in /usr/share/paralogo/ and select" +# echo " > a non-default one in /etc/paralogo.conf." } post_remove() { sed -i "/^HOOKS=/s/paralogo//" /etc/mkinitcpio.conf + mkinitcpio -p linux-libre } diff --git a/pcr/mkinitcpio-paralogo/share/paralogo3 b/pcr/mkinitcpio-paralogo/share/paralogo3 index ef20739b0..98878e11d 100644..100755 --- a/pcr/mkinitcpio-paralogo/share/paralogo3 +++ b/pcr/mkinitcpio-paralogo/share/paralogo3 @@ -1,11 +1,15 @@ + [1;34m + ███ + ██ ███ ██ ████ + ██ ███ ███ ████ ███ + ███ ███ ██ ████████ ███ ███ ███████ ███████ █████ ████ ████████ + ████ ██ ███ ███ ███ ██ ████ ███ ████ ██ ████ ██ ███ ███ ███ + █████ ████ ████ ███ ███ ████ ███ ███████ ██ ████ ███ ████ + ████ ███ ███ ███ ███ ███ ███ ██ ███ ███ ███ ███ ███ + ███ ███ ████ ████ ███ ████ ████ ██ ███ ███ ███ ████ ████ + ████ ████ ████ ███ ████ ████ █████ █████ █████ ████ ████ - [1;34m# ##[1;34m ____ _ _ ____ _ _ _ _ - [1;34m# # ####[1;34m / _ \ __ _ _ __ ___ _| |_ ___ | | __ _ / ___\ | \ | | | | | - [1;34m# # ######[1;34m | |_) / _` | '__/ _ ` | '_ \ / _ \| |/ _` | | | ___| \ | | | | | - [1;34m## #####[1;34m | __| (_| | | | (_| | |_| | |_| | | (_| | | |__| /| |\ \| | |_| | - [1;34m# #####[1;34m | | \__,_|_| \___,_|_,__/ \___/|_|\__,_| \____/ |_| \___|_____|[0;34m - [1;34m####[1;34m |_| - [1;34m### - [1;34m###[1;34m - [1;34m##[1;34m Make it simple and flexible. - [1;34m#[0m + + +Parabola equals software freedom plus all power to the users + [0m
\ No newline at end of file diff --git a/pcr/mkinitcpio-paralogo/share/paralogo4 b/pcr/mkinitcpio-paralogo/share/paralogo4 deleted file mode 100644 index 7b0852b8a..000000000 --- a/pcr/mkinitcpio-paralogo/share/paralogo4 +++ /dev/null @@ -1,11 +0,0 @@ - - [1;34m# ##[1;34m ____ _ _ - [1;34m# # ####[1;34m / _ \ __ _ _ __ ___ _| |_ ___ | | __ _ - [1;34m# # ######[1;34m | |_) / _` | '__/ _ ` | '_ \ / _ \| |/ _` | - [1;34m## #####[1;34m | __| (_| | | | (_| | |_| | |_| | | (_| | - [1;34m# #####[1;34m | | \__,_|_| \___,_|_,__/ \___/|_|\__,_| - [1;34m####[1;34m |_| - [1;34m### - [1;34m###[1;34m - [1;34m##[1;34m Make it simple and flexible. - [1;34m#[0m |