Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:zoom
zoom-appimage
debian.postrm
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.postrm of Package zoom-appimage
#!/bin/bash # --- Variables --- executable=zoom # --- End variables --- echo "--- Running debian.postrm ---" echo "With argument:$1" if [ $1 = "upgrade" ]; then # Remove traces of unfinished downloads rm -f /opt/appimages/*.AppImage.part* fi #if [ $1 = "remove" ]; then if [ $1 != "upgrade" ]; then # Remove traces of unfinished downloads rm -f /opt/appimages/*.AppImage.part* rm -vf /opt/appimages/zoom.AppImage fi if [ $1 = "purge" ]; then # Users on the system USERS=$(awk -F':' '{ print $1 }' /etc/passwd) # echo USERS=$USERS for user in $USERS; do if [ -d "/home/$user/.zoom" ]; then rm -rvf /home/$user/.zoom fi if [ -d "/home/$user/.cache" ]; then rm -rf /home/$user/.cache fi if [ -d "/home/$user/.config" ]; then rm -vf /home/$user/.config/zoom* fi if [ -f "/home/$user/.config/Unknown Organization/zoom.conf" ]; then rm -rvf "/home/$user/.config/Unknown Organization" fi done fi echo "--- End debian.postrm ---" exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor