Last active
February 22, 2021 11:21
-
-
Save emirchus/7016eef5ad2ee0ba3818a15fb0d93ee6 to your computer and use it in GitHub Desktop.
To install the command run: cp ./debinstaller /usr/bin/ And then run: chmod +x /usr/bin/debinstaller to be able to use the command run: debinstaller <filename>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 / | |
| 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, ahora haré magia uwu" | |
| sudo usysconf run -f | |
| echo "Gracias por usarme nya" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment