-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstaller.sh
71 lines (55 loc) · 3.36 KB
/
installer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/bin/bash
echo " &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&& &&&&&&&&&&&&&&&&&&&&&&&&&&
&&& && &&&&&&&&&&&&&&&&&&&&&&&&&&
&&&& &&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&& &&&&&&&&&&&&&&&&&&&&&&&&&&
&&& & &&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&& *&&&&&&&& &&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& "
echo " ###################################################################
# #
# Welcome to Mail-Man Installer #
# #
# Copyright © 2021 Satriaana Organization #
# #
################################################################### "
#Getting Organization Materials
read -p "Organization Mailman Repo with branch (eg- Satriaana/MailMan/main ) : " orgRepo
#Creating Installation Directory
echo Creating Installation Directory
mkdir -p $HOME/Satriaana/MailMan/
cp installer.sh $HOME/Satriaana/MailMan/
cd $HOME/Satriaana/MailMan/
wget https://raw.githubusercontent.com/"$orgRepo"/.artwork
wget https://raw.githubusercontent.com/"$orgRepo"/.config
#Building Master Script
echo Downloading Master Script
wget https://raw.githubusercontent.com/Satriaana/Talaria/main/master.sh
#Making Master Script Executable
echo Making Master Script Executable
chmod +x $HOME/Satriaana/MailMan/master.sh
#remove this in the production
cd $HOME
echo -e "\033[33;5mInstalling mailman!\033[0m"
echo "alias mailman='source $HOME/Satriaana/MailMan/master.sh'
alias satriaana-update='source $HOME/Satriaana/MailMan/installer.sh'
export $MMREPO=$orgRepo" >> .bashrc
sleep 5
echo "Done! Try mailman by typing mailman in terminal"
echo "Thanks for being with Satriaana!!"