Update install script.
This commit is contained in:
parent
1d7e544dec
commit
761351661a
10
install.sh
10
install.sh
|
@ -15,9 +15,9 @@ fi
|
|||
|
||||
# Edit desktop menu file.
|
||||
# First the Execution path...
|
||||
sed -i "s|Exec=/path/|Exec=/$HOME/bin/Youtube-dl-wrapper/YT-DL.sh|" $pwd/menu.desktop
|
||||
sed -i "s|Exec=/path/|Exec=$HOME/bin/YT-DL/YT-DL.sh|" $pwd/menu.desktop
|
||||
# Now icon path...
|
||||
sed -i "s|Icon=/path/|Icon=$pwd/YouTube-DL.svg" $pwd/menu.desktop
|
||||
sed -i "s|Icon=/path/|Icon=$HOME/bin/YT-DL/YouTube-DL.svg" $pwd/menu.desktop
|
||||
|
||||
# Check for needed directories...
|
||||
if [ -d ~/bin ];
|
||||
|
@ -32,11 +32,15 @@ fi
|
|||
|
||||
# copy over the files...
|
||||
cp db.txt ~/bin/YT-DL
|
||||
cp dbpyer.txt ~/bin/YT-DL/db.txt
|
||||
cp dbytdl.txt ~/bin/YT-DL/
|
||||
cp YouTube-DL.svg ~/bin/YT-DL
|
||||
cp YT-DL.sh ~/bin/YT-DL
|
||||
cp LICENSE ~/bin/YT-DL
|
||||
cp README.md ~/bin/YT-DL
|
||||
cp menu.desktop ~/bin/YT-DL
|
||||
cp menu.desktop ~/.local/share/applications
|
||||
cp uninstall.sh ~/bin/YT-DL
|
||||
cp python-error.sh ~/bin/YT-DL
|
||||
|
||||
# Check for the python symlink...
|
||||
if [ -f /usr/bin/python ];
|
||||
|
|
Loading…
Reference in New Issue