Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- post_install() {
- # This does not work. It seems there's no reliable method of extracting a true username
- # under a certain depth of sudo and redirected scripts, even when working from a tty.
- chmod -R 644 /home/$(logname)/.config/plank/dock1/theme_index
- chmod +x /home/$(logname)/.config/plank/dock1/theme_index/*.sh
- chmod -R 644 /home/$(logname)/.config/plank/dock1/themes-repo
- chown -R $(logname):$(logname) /home/$(logname)/.config/plank/dock1/theme_index
- chown -R $(logname):$(logname) /home/$(logname)/.config/plank/dock1/themes-repo
- sh /home/$(logname)/.config/plank/dock1/theme_index/plank-on-dock-themer.sh
- }
- post_upgrade() {
- post_install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement