Changeset View
Changeset View
Standalone View
Standalone View
src/settings/services/servicemenuinstallation
Show All 34 Lines | 17 | $archivetypes = { "application/x-tar" => :"tar -xf %s -C %s", | |||
---|---|---|---|---|---|
35 | "application/x-bzip-compressed-tar" => :"tar -jxf %s -C %s", | 35 | "application/x-bzip-compressed-tar" => :"tar -jxf %s -C %s", | ||
36 | "application/x-bzip2-compressed-tar" => :"tar -jxf %s -C %s", | 36 | "application/x-bzip2-compressed-tar" => :"tar -jxf %s -C %s", | ||
37 | "application/zip" => :"unzip %s -d %s", | 37 | "application/zip" => :"unzip %s -d %s", | ||
38 | "application/x-zip" => :"unzip %s -d %s", | 38 | "application/x-zip" => :"unzip %s -d %s", | ||
39 | "application/x-zip-compressed" => :"unzip %s -d %s", | 39 | "application/x-zip-compressed" => :"unzip %s -d %s", | ||
40 | "multipart/x-zip" => :"unzip %s -d %s", | 40 | "multipart/x-zip" => :"unzip %s -d %s", | ||
41 | "application/tgz" => :"tar -zxf %s -C %s", | 41 | "application/tgz" => :"tar -zxf %s -C %s", | ||
42 | "application/x-compressed-gtar" => :"tar -zxf %s -C %s", | 42 | "application/x-compressed-gtar" => :"tar -zxf %s -C %s", | ||
43 | "application/x-gtar" => :"tar -zxf %s -C %s", | | |||
44 | "file/tgz" => :"tar -zxf %s -C %s", | 43 | "file/tgz" => :"tar -zxf %s -C %s", | ||
45 | "multipart/x-tar-gz" => :"tar -zxf %s -C %s", | 44 | "multipart/x-tar-gz" => :"tar -zxf %s -C %s", | ||
46 | "application/x-gunzip" => :"tar -zxf %s -C %s", | 45 | "application/x-gunzip" => :"tar -zxf %s -C %s", | ||
47 | "application/gzipped" => :"tar -zxf %s -C %s", | 46 | "application/gzipped" => :"tar -zxf %s -C %s", | ||
48 | "gzip/document" => :"tar -zxf %s -C %s", | 47 | "gzip/document" => :"tar -zxf %s -C %s", | ||
49 | "application/x-bz2 " => :"tar -jxf %s -C %s", | 48 | "application/x-bz2 " => :"tar -jxf %s -C %s", | ||
50 | "application/x-gtar" => :"tar -xf %s -C %s", | 49 | "application/x-gtar" => :"tar -xf %s -C %s", | ||
51 | "multipart/x-tar" => :"tar -xf %s -C %s" | 50 | "multipart/x-tar" => :"tar -xf %s -C %s" | ||
Show All 38 Lines |