Commit b7ecb964 authored by Vitaly Lipatov's avatar Vitaly Lipatov

repack.d/code.sh: use upstream script to run code

parent fd536664
...@@ -12,8 +12,8 @@ subst '1iAutoProv:no' $SPEC ...@@ -12,8 +12,8 @@ subst '1iAutoProv:no' $SPEC
subst 's|\(.*/usr/share/code/code.*\)|"/usr/bin/code"\n"/usr/bin/vscode"\n\1|' $SPEC subst 's|\(.*/usr/share/code/code.*\)|"/usr/bin/code"\n"/usr/bin/vscode"\n\1|' $SPEC
mkdir -p $BUILDROOT/usr/bin/ mkdir -p $BUILDROOT/usr/bin/
ln -rs $BUILDROOT/usr/share/code/code $BUILDROOT/usr/bin/code ln -rs $BUILDROOT/usr/share/code/bin/code $BUILDROOT/usr/bin/code
ln -rs $BUILDROOT/usr/share/code/code $BUILDROOT/usr/bin/vscode ln -rs $BUILDROOT/usr/share/code/bin/code $BUILDROOT/usr/bin/vscode
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo) # install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
epm install --skip-installed at-spi2-atk coreutils findutils firefox gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst sed epm install --skip-installed at-spi2-atk coreutils findutils firefox gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst sed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment