thunderbird-nightly
1 #!/bin/sh 2 3 APP=thunderbird-nightly 4 5 # CREATE THE DIRECTORY 6 mkdir -p /opt/"$APP" 7 cd /opt/"$APP" 8 9 # ADD THE REMOVER 10 echo '#!/bin/sh' >> /opt/"$APP"/remove 11 echo "rm -R -f /opt/$APP /usr/local/share/applications/$APP-AM.desktop /usr/local/bin/$APP" >> /opt/"$APP"/remove 12 chmod a+x /opt/"$APP"/remove 13 14 # DOWNLOAD THE ARCHIVE 15 mkdir -p tmp 16 cd ./tmp 17 wget "https://download.mozilla.org/?product=$APP-latest&os=linux64&lang=$response" --trust-server-names 18 [ -e ./*tar.* ] && tar fx ./*tar.* && rm -f ./*tar.* 19 cd .. 20 mv ./tmp/thunderbird/* ./ 21 rm -R ./tmp 22 23 # LINK TO PATH 24 ln -s "/opt/$APP/thunderbird" "/usr/local/bin/$APP" 25 26 # LAUNCHER 27 echo "[Desktop Entry] 28 Name=Thunderbird Nightly 29 Comment=Send and receive mail with Thunderbird 30 Comment[ast]=Lleer y escribir corréu electrónicu 31 Comment[ca]=Llegiu i escriviu correu 32 Comment[cs]=Čtení a psaní pošty 33 Comment[da]=Skriv/læs e-post/nyhedsgruppe med Mozilla Thunderbird 34 Comment[de]=E-Mails und Nachrichten mit Thunderbird lesen und schreiben 35 Comment[el]=Διαβάστε και γράψτε γράμματα με το Mozilla Thunderbird 36 Comment[es]=Lea y escriba correos y noticias con Thunderbird 37 Comment[fi]=Lue ja kirjoita sähköposteja 38 Comment[fr]=Lire et écrire des courriels 39 Comment[gl]=Lea e escriba correo electrónico 40 Comment[he]=קריאה/כתיבה של דוא״ל/חדשות באמצעות Mozilla Thunderbird 41 Comment[hr]=Čitajte/šaljite e-poštu s Thunderbird 42 Comment[hu]=Levelek írása és olvasása a Thunderbirddel 43 Comment[it]=Per leggere e scrivere email 44 Comment[ja]=メールの読み書き 45 Comment[ko]=Mozilla Thunderbird 메일/뉴스 읽기 및 쓰기 클라이언트 46 Comment[nl]=E-mail/nieuws lezen en schrijven met Mozilla Thunderbird 47 Comment[pl]=Czytanie i wysyłanie e-maili 48 Comment[pt_BR]=Leia e escreva suas mensagens 49 Comment[ru]=Читайте и пишите письма 50 Comment[sk]=Čítajte a píšte poštu pomocou programu Thunderbird 51 Comment[sv]=Läs och skriv e-post 52 Comment[ug]=ئېلخەت ۋە خەۋەرلەرنى Mozilla Thunderbird دا كۆرۈش ۋە يېزىش 53 Comment[uk]=Читання та написання листів 54 Comment[vi]=Đọc và soạn thư điện tử 55 Comment[zh_CN]=阅读邮件或新闻 56 Comment[zh_TW]=以 Mozilla Thunderbird 讀寫郵件或新聞 57 GenericName=Mail Client (Bleeding edge) 58 GenericName[ast]=Client de correu 59 GenericName[ca]=Client de correu 60 GenericName[cs]=Poštovní klient 61 GenericName[da]=E-postklient 62 GenericName[de]=E-Mail-Anwendung 63 GenericName[el]=Λογισμικό αλληλογραφίας 64 GenericName[es]=Cliente de correo 65 GenericName[fi]=Sähköpostiohjelma 66 GenericName[fr]=Client de messagerie 67 GenericName[gl]=Cliente de correo electrónico 68 GenericName[he]=לקוח דוא״ל 69 GenericName[hr]=Klijent e-pošte 70 GenericName[hu]=Levelezőkliens 71 GenericName[it]=Client email 72 GenericName[ja]=電子メールクライアント 73 GenericName[ko]=메일 클라이언트 74 GenericName[nl]=E-mailprogramma 75 GenericName[pl]=Klient poczty 76 GenericName[pt_BR]=Cliente de E-mail 77 GenericName[ru]=Почтовый клиент 78 GenericName[sk]=Poštový klient 79 GenericName[ug]=ئېلخەت دېتالى 80 GenericName[uk]=Поштова програма 81 GenericName[vi]=Phần mềm khách quản lý thư điện tử 82 GenericName[zh_CN]=邮件新闻客户端 83 GenericName[zh_TW]=郵件用戶端 84 Exec=$APP %u 85 Terminal=false 86 Type=Application 87 Icon=/opt/$APP/chrome/icons/default/default128.png 88 Categories=Network;Email; 89 MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall; 90 StartupNotify=true 91 Actions=ComposeMessage;OpenAddressBook;" > /usr/local/share/applications/"$APP"-AM.desktop 92 93