-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall
More file actions
21 lines (21 loc) · 761 Bytes
/
Copy pathinstall
File metadata and controls
21 lines (21 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
echo "installing..."
if [[ "$1" == "-t" ]]
then
echo "termux installation"
cp kvartfetch $HOME/../usr/bin/
chmod +x $HOME/../usr/bin/kvartfetch
mkdir -p $HOME/../usr/share/doc/kvartfetch
cp config $HOME/../usr/share/doc/kvartfetch/
chmod +x $HOME/../usr/share/doc/kvartfetch/config
else
cp kvartfetch /bin/kvartfetch
chmod +x /bin/kvartfetch
mkdir -p /usr/share/doc/kvartfetch
cp config /usr/share/doc/kvartfetch
chmod +x /usr/share/doc/kvartfetch/config
fi
echo "all done! Copy config file to $HOME/.config/kvartfetch/config !"
echo "you can find default config in /usr/share/doc/kvartfetch"
echo "($HOME/../usr/share/doc/kvartfetch in termux)"
exit 0