20 lines
608 B
Bash
20 lines
608 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
_extras=wallpapers
|
||
|
_repo="PepWallPaper"
|
||
|
|
||
|
###########################################
|
||
|
# Quietly have wget -q0- "pipe" its output directly to tar.
|
||
|
# Use tar -xvz to decompress, list and untar the DL file
|
||
|
# to the symlink 'pepwallpaper' in /usr/share, on the fly.
|
||
|
# Leaving no files to remove and no permission changes required.
|
||
|
###########################################
|
||
|
|
||
|
echo -en "\n Downloadng new ${_extras} to /usr/share/"
|
||
|
wget -qO- https://codeberg.org/Peppermint_OS/${_repo}/archive/master.tar.gz |
|
||
|
tar -vxz -C /usr/share 2>/dev/null
|
||
|
|
||
|
# Go back to the Extras
|
||
|
python3 /opt/pypep/pge.py &
|
||
|
|