Files
atom/native/linux/install.sh
2012-09-20 16:24:08 -07:00

20 lines
602 B
Bash
Executable File

#!/bin/sh
INSTALLDIR=/usr/share/atom
mkdir -p $INSTALLDIR
cp out/Default/atom $INSTALLDIR
cp -t $INSTALLDIR *.pak
cp -R locales $INSTALLDIR
cp atom.png $INSTALLDIR
cp lib/libcef.so $INSTALLDIR
cp lib/libcef_dll_wrapper.a $INSTALLDIR
cp -R ../../src $INSTALLDIR
cp -R ../../static $INSTALLDIR
cp -R ../../vendor $INSTALLDIR
cp -R ../../bundles $INSTALLDIR
cp -R ../../themes $INSTALLDIR
mkdir -p $INSTALLDIR/native/v8_extensions
cp -t $INSTALLDIR/native/v8_extensions ../v8_extensions/*.js
coffee -c -o $INSTALLDIR/src/stdlib ../../src/stdlib/require.coffee
ln -sf $INSTALLDIR/atom /usr/local/bin/atom