Skip to content

Instantly share code, notes, and snippets.

View digrix's full-sized avatar

Martin Fiala digrix

  • Seznam.cz, a.s.
  • Czech Republic
  • 20:56 (UTC +01:00)
View GitHub Profile
@digrix
digrix / rpm4opera
Last active December 14, 2015 11:34 — forked from ruario/rpm4opera
Converts Opera deb packages into rpm format
#!/usr/bin/env bash
available () {
command -v "$1" >/dev/null 2>&1
}
rpmcheck () {
if [ -e "$1" ]; then
echo "$1 is already present, delete it if you want to recreate it"
exit 0