32 lines
1.3 KiB
Bash
Executable File
32 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# ffinstall -- Revision: 12X -- by eznix (https://sourceforge.net/projects/eznixos/)
|
|
# (GNU/General Public License version 3.0)
|
|
|
|
ffinstallr () {
|
|
[[ -d /opt/FFDL ]] && rm -r /opt/FFDL
|
|
mkdir /opt/FFDL
|
|
[[ -d /opt/moz ]] && rm -r /opt/moz
|
|
mkdir /opt/moz
|
|
wget -O /opt/FFDL/FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
|
|
tar xjf /opt/FFDL/FirefoxSetup.tar.bz2 -C /opt/moz/
|
|
cp /usr/share/eznixOS12Xdev/launchers/Firefox-Latest.desktop /usr/share/applications/
|
|
rm -r /opt/FFDL
|
|
}
|
|
|
|
ffinstallr
|
|
|
|
# Disclaimer:
|
|
|
|
# THIS SOFTWARE IS PROVIDED BY EZNIX “AS IS” AND ANY EXPRESS OR IMPLIED
|
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
|
# EVENT SHALL EZNIX BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
# POSSIBILITY OF SUCH DAMAGE.
|
|
|