35 |
description text default NULL, |
description text default NULL, |
36 |
homepage varchar(255) default NULL, |
homepage varchar(255) default NULL, |
37 |
pkgtype varchar(255) default NULL, |
pkgtype varchar(255) default NULL, |
38 |
depend varchar(255) default NULL, |
depend text default NULL, |
39 |
sdepend varchar(255) default NULL, |
sdepend text default NULL, |
40 |
provide varchar(255) default NULL, |
provide text default NULL, |
41 |
time datetime NOT NULL, |
time datetime NOT NULL, |
42 |
flag int(1) NOT NULL default '1', |
flag int(1) NOT NULL default '1', |
43 |
PRIMARY KEY (id) |
PRIMARY KEY (id) |
92 |
|
|
93 |
# the description may contain some escape characters like ' and " |
# the description may contain some escape characters like ' and " |
94 |
# which break the above loop |
# which break the above loop |
95 |
DESCRIPTION="$(get_value_from_magefile DESCRIPTION ${MAGEFILE})" |
DESCRIPTION="$(get_value_from_magefile DESCRIPTION ${MAGEFILE} | sed "s:':\\\':g")" |
96 |
|
|
97 |
# get var from the name of the magefile |
# get var from the name of the magefile |
98 |
PCAT="$(magename2pcat ${MAGEFILE})" |
PCAT="$(magename2pcat ${MAGEFILE})" |