Commit graph

356 commits

Author SHA1 Message Date
Tommaso Chiti
1061b8b9a5 Wheel permissions. 2022-05-27 12:29:09 +02:00
Tommaso Chiti
303abe86f9 Print instead of echo. 2022-05-27 11:17:55 +02:00
Tommaso Chiti
092b429d5d Fixing username issue. 2022-05-27 11:02:01 +02:00
Tommaso Chiti
d2d9a43af8 Fixing hostfile issue and mkinitcpio config file. 2022-05-27 10:54:42 +02:00
Tommaso Chiti
9016834331
Update easy-arch.sh 2022-05-22 08:47:00 +02:00
Tommaso Chiti
4247de265d Cosmetics. 2022-05-12 10:24:35 +02:00
Tommaso Chiti
8daefa49a7 Better error info (cosmetics). 2022-05-12 09:30:30 +02:00
Tommaso Chiti
b85833d6b3 Cosmetics. 2022-05-12 09:25:01 +02:00
Tommaso Chiti
266980d124 Couple fixes. 2022-05-12 09:17:35 +02:00
Tommaso Chiti
a82891fd94
Update README.md 2022-05-08 11:15:53 +02:00
Tommaso Chiti
95223e355b
Update shellcheck.yml 2022-05-08 11:12:57 +02:00
Tommaso Chiti
0ffe009e31
Update easy-arch.sh 2022-05-08 11:06:25 +02:00
Tommaso Chiti
11f80239a8
Removed /etc/hosts section
The arch wiki doesn't include it anymore (legacy?)
2022-05-08 11:05:28 +02:00
Tommaso Chiti
2fff020e4b
Update easy-arch.sh 2022-05-08 10:47:47 +02:00
Tommaso Chiti
2666b24d10
Merge pull request #47 from i-c-u-p/patch-3
Improvements from icup 🍡
2022-05-08 10:44:09 +02:00
i-c-u-p
e82ced1bd9
shorten some seds 2022-05-02 06:21:33 +00:00
i-c-u-p
0b6c961e72
use layout/locale vars in print for default choice
also added 2 missing return 0's and replaced the tabs my editor keeps adding in
2022-04-29 22:17:15 +00:00
i-c-u-p
c07aee4269
change pass creation funcs to new repeating method
changes functions prompting the user to create passwords to use the new method for repeating questions from f281da1. also changed the message given after choosing the default locale to be shorter/more accurate.
2022-04-29 12:12:50 +00:00
i-c-u-p
4c5ea199c4
use bash var sub instead of sed 2022-04-29 08:44:25 +00:00
i-c-u-p
c7536cef0e
remove underline text formatting from script
if the script is being run in the live arch iso's terminal and not through ssh, text underlines don't appear and the text just becomes blue, so they've been removed to make the appearance on both more alike.
2022-04-29 08:31:29 +00:00
i-c-u-p
e6daa6f659
remove -R flag from /mnt/root chmod, fix grub sed from 7797b19
grub's sed change in 7797b19 caused the kernel parameters to be enclosed in 3 quotes instead of 2. this fixes it (first delimiter has to be escaped if not /; see GNU sed manual section 4.3)
2022-04-29 07:23:28 +00:00
i-c-u-p
fd49d164de
fix locale existence check
shouldn't be using the -x option since locales always appear with the charset on the same line, making matches impossible. Also removed -F since some regex is needed to ensure only locales are matched, and added a sed to escape regex characters in $locale before its sent to grep so the user can't type something like "e." and match the "eo" locale accidentally.
2022-04-29 06:21:43 +00:00
i-c-u-p
31acfd3b0c
Update easy-arch.sh 2022-04-29 05:13:51 +00:00
i-c-u-p
c06241dc46
fix unescaped quotes, etc for syntax check 2022-04-29 05:11:52 +00:00
i-c-u-p
632d40c5c5
forgot to do in 1375897
said that I changed the Color sed to match "1375897" but then didnt actually change it
2022-04-29 00:07:19 +00:00
i-c-u-p
540a503f28
fix last commit
didnt actually fix the sudoers expression...
2022-04-29 00:01:50 +00:00
i-c-u-p
1375897e53
fix sudoers and pacman.conf sed expressions
the paralleldownloads sed in 2fb11db changes the value without actually uncommenting it, and the change the the "Color" sed in adds ILoveCandy without actually uncommenting Color. also made the color regex match "^#Color$" instead of "#Color" to make it more specific
2022-04-28 23:59:40 +00:00
i-c-u-p
d9e5976ece
change permissions of /mnt/root from 755 to 750 2022-04-28 10:10:30 +00:00
i-c-u-p
ea300d5560
fix locales, shorten virt_check, change some prompts, fix incEcho typo 2022-04-28 09:50:30 +00:00
i-c-u-p
4ee0ffabdd
typo in subvol creation 2022-04-28 08:05:54 +00:00
i-c-u-p
c6d418995d
Update easy-arch.sh
changed some comments/prompts to make more sense and make it more obvious that the keyboard layout chosen is only for the console and won't apply in a graphical environment.
2022-04-28 07:56:10 +00:00
i-c-u-p
804c2ca509
delete tab character and trailing whitespace
accidentally used a literal tab for when defining a color instead of 4 spaces
2022-04-28 07:34:54 +00:00
i-c-u-p
f281da1821
Update easy-arch.sh
mainly changed functions with user input (except password-related ones since i don't know how to apply it to those) to use a different method for repeating questions to fix the issue of commands repeating if incorrect answers were given before a correct one (this is the reason why the password selection functions use while loops for incorrect answers instead of re-running the function). the method used is described in this StackExchange answer: https://unix.stackexchange.com/a/268769
2022-04-28 07:27:56 +00:00
i-c-u-p
93f2caeb3b
fix locale selector, clear screen after listing keymaps/locales
fix another var typo and clear the screen after the user searches for locales/keymaps with / (since less floods the screen)
2022-04-28 03:10:37 +00:00
i-c-u-p
0a379f40f1
fix keyboard/locale not being installed, and kb select function
use the right var when checking if the selected keymap exists, don't skip prompt for keyboard layout if the user entered "/" and don't include the installation of the keymap/locale in the selection functions since no subvolumes are mounted when they're called
2022-04-28 02:33:08 +00:00
i-c-u-p
2fb11dbfb1
fix pacman sed
sed expressions using the a, c or i commands cant be separated with ; and require a newline or -e to do so instead. since the ILoveCandy is the only expression in the sequence that uses one of those commands i just moved it to the end which seemed to fix the problem. also shortened the parallel downloads sed. chaining expressions is addressed in section 3.8.1 of the gnu sed manual
2022-04-28 00:49:26 +00:00
i-c-u-p
c990c0f9a0
shorten sed for adding ILoveCandy
sed's "a" command can be used for this (ty LARBS :P)
2022-04-27 10:34:56 +00:00
i-c-u-p
dd065fb340
cleanup paralleldownloads regex
because the pattern ends with ".*" using "$" is pointless
2022-04-27 09:13:19 +00:00
i-c-u-p
165a2c03f6
Update easy-arch.sh
edited some functions related to user input so that their formatting/installing won't take place until after questions are over to prevent having to wait in between questions. also moved the order of the microcode virt check functions run to prevent installing stuff before questions are over, and some other funcs to just be more convenient (keyboard layout is now selected first incase the user isn't using US qwerty) and now there are options to search for locales and keymaps before making a selection.
2022-04-27 08:23:34 +00:00
i-c-u-p
22d6cdf8bc
move mount options to variable 2022-04-27 02:53:57 +00:00
i-c-u-p
576912e9ec
fix indentation of password selection functions
made the indentation on the password selection functions more consistent and use 4 spaces per indent instead of a literal tab character.
2022-04-26 07:54:53 +00:00
i-c-u-p
3df93905c4
Update easy-arch.sh 2022-04-25 21:48:55 +00:00
i-c-u-p
527e71124b
fix typo in last commit 2022-04-25 09:55:43 +00:00
i-c-u-p
7797b19331
simplify grub & sudoers sed expressions 2022-04-25 09:54:37 +00:00
i-c-u-p
c56fbb9878
use nested brace expansion when making subvol dirs
also removed unnecessary /
2022-04-25 09:46:21 +00:00
i-c-u-p
b3b860c8d6
change btrfs subvolume related commands to loops 2022-04-25 09:43:06 +00:00
Tommaso Chiti
41f8816b85
Merge pull request #46 from i-c-u-p/chmod_+x-easy-arch.sh
Made easy-arch.sh executable
2022-04-10 08:15:51 +02:00
i-c-u-p
62987ab3b4
Made easy-arch.sh executable
Changed permissions of easy-arch.sh from 644 to 755 to be able to run it via "./easy-arch.sh" with out first executing "chmod +x easy-arch.sh".
2022-04-06 09:36:42 +00:00
Tommaso Chiti
906548bcc2
Merge pull request #41 from pm4rcin/patch-1
Make disk selection more verbose
2022-03-17 07:09:09 +01:00
pm4rcin
c33b349095
Make disk selection more verbose
because it's confusing for new users
2022-03-16 17:44:11 +00:00