Skip to content

Instantly share code, notes, and snippets.

@emirchus
Last active February 22, 2021 11:21
Show Gist options
  • Save emirchus/7016eef5ad2ee0ba3818a15fb0d93ee6 to your computer and use it in GitHub Desktop.
Save emirchus/7016eef5ad2ee0ba3818a15fb0d93ee6 to your computer and use it in GitHub Desktop.

Revisions

  1. emirchus revised this gist Feb 22, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions DebInstaller.sh
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@ if [-f FILE]; then
    sudo tar xf data.tar.xz -C /
    else
    sudo tar xf data.tar.gz -C /
    chmod +x /usr/
    echo "Programando instalado, limpiando directorio owo"
    sudo rm control.tar.xz control.tar.gz data.tar.gz data.tar.xz debian-binary
    echo "Directorio limpiado uwu"
    echo "Directorio limpiado, ahora haré magia uwu"
    sudo usysconf run -f
    echo "Gracias por usarme nya"
  2. emirchus created this gist Feb 22, 2021.
    16 changes: 16 additions & 0 deletions DebInstaller.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    #!/bin/bash

    FILE=data.tar.xz

    echo "Extrayendo $1 en la carpeta actual >w<"
    sudo ar xf $1
    echo "Instalando programa ^-^"
    if [-f FILE]; then
    sudo tar xf data.tar.xz -C /
    else
    sudo tar xf data.tar.gz -C /
    chmod +x /usr/
    echo "Programando instalado, limpiando directorio owo"
    sudo rm control.tar.xz control.tar.gz data.tar.gz data.tar.xz debian-binary
    echo "Directorio limpiado uwu"
    echo "Gracias por usarme nya"