mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 05:09:17 +00:00
✏️ fix: ALL typos (#775)
This commit is contained in:
parent
c02bee8a85
commit
f1ee0569c3
|
@ -49,7 +49,7 @@ makepkg -si
|
||||||
|
|
||||||
Replace `<package>` with your preferred package.
|
Replace `<package>` with your preferred package.
|
||||||
|
|
||||||
If you use [yay](https://github.com/Jguer/yay), [paru](https://github.com/Morganamilo/paru) or any other [AUR Helper](https://wiki.archlinux.org/title/AUR_helpers), it's even simplier:
|
If you use [yay](https://github.com/Jguer/yay), [paru](https://github.com/Morganamilo/paru) or any other [AUR Helper](https://wiki.archlinux.org/title/AUR_helpers), it's even simpler:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
paru -S linutil
|
paru -S linutil
|
||||||
|
|
|
@ -30,7 +30,7 @@ configureUFW() {
|
||||||
printf "%b\n" "${YELLOW}Allowing port 80/tcp (UFW)${RC}"
|
printf "%b\n" "${YELLOW}Allowing port 80/tcp (UFW)${RC}"
|
||||||
"$ESCALATION_TOOL" ufw allow 80/tcp
|
"$ESCALATION_TOOL" ufw allow 80/tcp
|
||||||
|
|
||||||
printf "%b\n" "${YELLO}Allowing port 443/tcp (UFW)${RC}"
|
printf "%b\n" "${YELLOW}Allowing port 443/tcp (UFW)${RC}"
|
||||||
"$ESCALATION_TOOL" ufw allow 443/tcp
|
"$ESCALATION_TOOL" ufw allow 443/tcp
|
||||||
|
|
||||||
printf "%b\n" "${YELLOW}Denying Incoming Packets by Default(UFW)${RC}"
|
printf "%b\n" "${YELLOW}Denying Incoming Packets by Default(UFW)${RC}"
|
||||||
|
|
|
@ -216,7 +216,7 @@ echo -ne "
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
THIS WILL FORMAT AND DELETE ALL DATA ON THE DISK
|
THIS WILL FORMAT AND DELETE ALL DATA ON THE DISK
|
||||||
Please make sure you know what you are doing because
|
Please make sure you know what you are doing because
|
||||||
after formating your disk there is no way to get data back
|
after formatting your disk there is no way to get data back
|
||||||
*****BACKUP YOUR DATA BEFORE CONTINUING*****
|
*****BACKUP YOUR DATA BEFORE CONTINUING*****
|
||||||
***I AM NOT RESPONSIBLE FOR ANY DATA LOSS***
|
***I AM NOT RESPONSIBLE FOR ANY DATA LOSS***
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
@ -328,7 +328,7 @@ echo -ne "
|
||||||
pacman -S --noconfirm --needed gptfdisk btrfs-progs glibc
|
pacman -S --noconfirm --needed gptfdisk btrfs-progs glibc
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
Formating Disk
|
Formatting Disk
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
umount -A --recursive /mnt # make sure everything is unmounted before we start
|
umount -A --recursive /mnt # make sure everything is unmounted before we start
|
||||||
|
@ -670,4 +670,4 @@ sed -i 's/^%wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: A
|
||||||
# Add sudo rights
|
# Add sudo rights
|
||||||
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
|
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
|
||||||
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
|
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -10,7 +10,7 @@ configureDNF() {
|
||||||
echo "fastestmirror=True" | "$ESCALATION_TOOL" tee -a /etc/dnf/dnf.conf > /dev/null
|
echo "fastestmirror=True" | "$ESCALATION_TOOL" tee -a /etc/dnf/dnf.conf > /dev/null
|
||||||
echo "defaultyes=True" | "$ESCALATION_TOOL" tee -a /etc/dnf/dnf.conf > /dev/null
|
echo "defaultyes=True" | "$ESCALATION_TOOL" tee -a /etc/dnf/dnf.conf > /dev/null
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" -y install dnf-plugins-core
|
"$ESCALATION_TOOL" "$PACKAGER" -y install dnf-plugins-core
|
||||||
printf "%b\n" "${GREEN}DNF Configured Succesfully...${RC}"
|
printf "%b\n" "${GREEN}DNF Configured Successfully.${RC}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%b\n" "${RED}Unsupported distribution: $DTYPE${RC}"
|
printf "%b\n" "${RED}Unsupported distribution: $DTYPE${RC}"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
. ../../common-script.sh
|
. ../../common-script.sh
|
||||||
# This script allows user to download proprietary drivers for nvidia in fedora
|
# This script allows user to download proprietary drivers for nvidia in fedora
|
||||||
|
|
||||||
# It also disables noveau nvidia drivers
|
# It also disables nouveau nvidia drivers
|
||||||
|
|
||||||
# Installation guide link: https://rpmfusion.org/Howto/NVIDIA
|
# Installation guide link: https://rpmfusion.org/Howto/NVIDIA
|
||||||
|
|
||||||
|
@ -91,4 +91,4 @@ printf "%b\n" "${YELLOW}Warning! This script will enable Nvidia non-free reposit
|
||||||
|
|
||||||
checkEnv
|
checkEnv
|
||||||
checkEscalationTool
|
checkEscalationTool
|
||||||
userConfirmation
|
userConfirmation
|
||||||
|
|
|
@ -54,7 +54,7 @@ pub struct AppState {
|
||||||
/// This stack keeps track of our "current directory". You can think of it as `pwd`. but not
|
/// This stack keeps track of our "current directory". You can think of it as `pwd`. but not
|
||||||
/// just the current directory, all paths that took us here, so we can "cd .."
|
/// just the current directory, all paths that took us here, so we can "cd .."
|
||||||
visit_stack: Vec<NodeId>,
|
visit_stack: Vec<NodeId>,
|
||||||
/// This is the state asociated with the list widget, used to display the selection in the
|
/// This is the state associated with the list widget, used to display the selection in the
|
||||||
/// widget
|
/// widget
|
||||||
selection: ListState,
|
selection: ListState,
|
||||||
filter: Filter,
|
filter: Filter,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user