How to Install and Uninstall withlock Package on openSUSE Leap

Last updated: November 26,2024

1. Install "withlock" package

This is a short guide on how to install withlock on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install withlock

2. Uninstall "withlock" package

This guide covers the steps necessary to uninstall withlock on openSUSE Leap:

$ sudo zypper remove withlock

3. Information about the withlock package on openSUSE Leap

Information for package withlock:
---------------------------------
Repository : Main Repository
Name : withlock
Version : 0.5-bp155.1.6
Arch : noarch
Vendor : openSUSE
Installed Size : 34.3 KiB
Installed : No
Status : not installed
Source package : withlock-0.5-bp155.1.6.src
Upstream URL : https://github.com/poeml/withlock
Summary : A locking wrapper script
Description :
withlock is a locking wrapper script to make sure that some program isn't run
more than once. It is ideal to prevent periodic jobs spawned by cron from
stacking up.
The locks created are valid only while the wrapper is running, and thus will
never require a cleanup, as after a reboot. Thus, the wrapper is safe and easy
to use, and much better than implementing half-hearted locking within scripts.