Skip to content

Commit

Permalink
Update shell
Browse files Browse the repository at this point in the history
  • Loading branch information
curegit committed Mar 21, 2023
1 parent bb4e8e9 commit 5665786
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion install_system.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
cd "$(dirname "$0")"
sudo mkdir -p /usr/share/fonts/opentype/maho
sudo cp Maho-Moji.otf /usr/share/fonts/opentype/maho/
Expand Down
3 changes: 2 additions & 1 deletion install_user.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh -e
#!/bin/sh
set -e
cd "$(dirname "$0")"
mkdir -p ~/.local/share/fonts
cp Maho-Moji.otf ~/.local/share/fonts/
Expand Down
3 changes: 2 additions & 1 deletion uninstall_system.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh -e
#!/bin/sh
set -e
sudo rm -r /usr/share/fonts/opentype/maho/
fc-cache -fv /usr/share/fonts/opentype/
3 changes: 2 additions & 1 deletion uninstall_user.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh -e
#!/bin/sh
set -e
rm ~/.local/share/fonts/Maho-Moji.otf
fc-cache -fv ~/.local/share/fonts/

0 comments on commit 5665786

Please sign in to comment.