diff --git a/install_gopro_8:7.sh b/install_gopro_8:7.sh index fe5d589..19ac1f0 100755 --- a/install_gopro_8:7.sh +++ b/install_gopro_8:7.sh @@ -1,6 +1,18 @@ #!/bin/sh # RozK -rm -f ~/.avidemux6/custom/preset_gopro_8:7* -cp gopro_8:7/preset_gopro_8:7* ~/.avidemux6/custom/ + +if [ -d ~/.local/share/avidemux6 ]; then + mkdir -p ~/.local/share/avidemux6/custom + rm -f ~/.local/share/avidemux6/custom/preset_gopro* + cp gopro_8:7/preset_gopro* ~/.local/share/avidemux6/custom/ +fi + +if [ -d ~/.avidemux6 ]; then + mkdir -p ~/.avidemux6/custom + rm -f ~/.avidemux6/custom/preset_gopro* + cp gopro_8:7/preset_gopro* ~/.avidemux6/custom/ +fi + sudo mkdir -p /opt/rk/avidemux +sudo rm -f /opt/rk/avidemux/* sudo cp gopro_8:7/unfish_gopro_8:7.glsl /opt/rk/avidemux