Skip to content

Instantly share code, notes, and snippets.

View digrix's full-sized avatar

Martin Fiala digrix

  • Seznam.cz, a.s.
  • Czech Republic
  • 05:58 (UTC +02: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